slstatus/components
NRK 0c2b3e5b5c do not rely on obsolete feature
function prototype with unspecified argument is obsolete since c99.

additionally some of these function which don't take any argument were
being called with a `const char *` arg, which is UB.

fix both these issues by declararing ALL the components to accept a
`const char *`, and name the arg "unused" if it's meant to be ignored.
2022-10-26 23:32:43 +02:00
..
battery.c components/*.c: include slstatus.h 2022-10-26 23:32:07 +02:00
cpu.c do not rely on obsolete feature 2022-10-26 23:32:43 +02:00
datetime.c components/*.c: include slstatus.h 2022-10-26 23:32:07 +02:00
disk.c components/*.c: include slstatus.h 2022-10-26 23:32:07 +02:00
entropy.c do not rely on obsolete feature 2022-10-26 23:32:43 +02:00
hostname.c do not rely on obsolete feature 2022-10-26 23:32:43 +02:00
ip.c components/*.c: include slstatus.h 2022-10-26 23:32:07 +02:00
kernel_release.c do not rely on obsolete feature 2022-10-26 23:32:43 +02:00
keyboard_indicators.c components/*.c: include slstatus.h 2022-10-26 23:32:07 +02:00
keymap.c do not rely on obsolete feature 2022-10-26 23:32:43 +02:00
load_avg.c do not rely on obsolete feature 2022-10-26 23:32:43 +02:00
netspeeds.c components/*.c: include slstatus.h 2022-10-26 23:32:07 +02:00
num_files.c components/*.c: include slstatus.h 2022-10-26 23:32:07 +02:00
ram.c do not rely on obsolete feature 2022-10-26 23:32:43 +02:00
run_command.c components/*.c: include slstatus.h 2022-10-26 23:32:07 +02:00
separator.c components/*.c: include slstatus.h 2022-10-26 23:32:07 +02:00
swap.c do not rely on obsolete feature 2022-10-26 23:32:43 +02:00
temperature.c components/*.c: include slstatus.h 2022-10-26 23:32:07 +02:00
uptime.c do not rely on obsolete feature 2022-10-26 23:32:43 +02:00
user.c do not rely on obsolete feature 2022-10-26 23:32:43 +02:00
volume.c components/*.c: include slstatus.h 2022-10-26 23:32:07 +02:00
wifi.c components/*.c: include slstatus.h 2022-10-26 23:32:07 +02:00