1
0

slstatus.h: Fix coding style

Function declarations should include variable names.
For functions with different parameters on different platfroms they are
left out.
This commit is contained in:
Aaron Marcher 2018-07-06 08:03:31 +02:00
parent 381c2fa12a
commit efa26f4f35

View File

@ -3,20 +3,20 @@
/* battery */ /* battery */
const char *battery_perc(const char *); const char *battery_perc(const char *);
const char *battery_state(const char *); const char *battery_state(const char *);
const char *battery_remaining(const char*); const char *battery_remaining(const char *);
/* cpu */ /* cpu */
const char *cpu_freq(void); const char *cpu_freq(void);
const char *cpu_perc(void); const char *cpu_perc(void);
/* datetime */ /* datetime */
const char *datetime(const char *); const char *datetime(const char *fmt);
/* disk */ /* disk */
const char *disk_free(const char *); const char *disk_free(const char *mnt);
const char *disk_perc(const char *); const char *disk_perc(const char *mnt);
const char *disk_total(const char *); const char *disk_total(const char *mnt);
const char *disk_used(const char *); const char *disk_used(const char *mnt);
/* entropy */ /* entropy */
const char *entropy(void); const char *entropy(void);
@ -25,8 +25,8 @@ const char *entropy(void);
const char *hostname(void); const char *hostname(void);
/* ip */ /* ip */
const char *ipv4(const char *); const char *ipv4(const char *iface);
const char *ipv6(const char *); const char *ipv6(const char *iface);
/* kernel_release */ /* kernel_release */
const char *kernel_release(void); const char *kernel_release(void);
@ -38,14 +38,14 @@ const char *keyboard_indicators(void);
const char *keymap(void); const char *keymap(void);
/* load_avg */ /* load_avg */
const char *load_avg(const char *); const char *load_avg(void);
/* netspeeds */ /* netspeeds */
const char *netspeed_rx(const char *); const char *netspeed_rx(const char *interface);
const char *netspeed_tx(const char *); const char *netspeed_tx(const char *interface);
/* num_files */ /* num_files */
const char *num_files(const char *); const char *num_files(const char *dir);
/* ram */ /* ram */
const char *ram_free(void); const char *ram_free(void);
@ -54,7 +54,7 @@ const char *ram_total(void);
const char *ram_used(void); const char *ram_used(void);
/* run_command */ /* run_command */
const char *run_command(const char *); const char *run_command(const char *cmd);
/* swap */ /* swap */
const char *swap_free(void); const char *swap_free(void);
@ -74,8 +74,8 @@ const char *username(void);
const char *uid(void); const char *uid(void);
/* volume */ /* volume */
const char *vol_perc(const char *); const char *vol_perc(const char *card);
/* wifi */ /* wifi */
const char *wifi_perc(const char *); const char *wifi_perc(const char *iface);
const char *wifi_essid(const char *); const char *wifi_essid(const char *iface);