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:
parent
381c2fa12a
commit
efa26f4f35
1 changed files with 16 additions and 16 deletions
30
slstatus.h
30
slstatus.h
|
@ -10,13 +10,13 @@ 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);
|
||||||
|
|
Loading…
Reference in a new issue