mirror of
https://github.com/pikami/slstatus.git
synced 2024-11-27 13:55:41 +00:00
suckless coding style -> added back function prototypes argument variable names
This commit is contained in:
parent
d1423010d0
commit
0fe8e5a961
32
slstatus.c
32
slstatus.c
@ -37,34 +37,34 @@ struct arg {
|
||||
const char *args;
|
||||
};
|
||||
|
||||
static char *smprintf(const char *, ...);
|
||||
static char *battery_perc(const char *);
|
||||
static char *battery_state(const char *);
|
||||
static char *smprintf(const char *fmt, ...);
|
||||
static char *battery_perc(const char *bat);
|
||||
static char *battery_state(const char *bat);
|
||||
static char *cpu_perc(void);
|
||||
static char *datetime(const char *);
|
||||
static char *disk_free(const char *);
|
||||
static char *disk_perc(const char *);
|
||||
static char *disk_total(const char *);
|
||||
static char *disk_used(const char *);
|
||||
static char *datetime(const char *fmt);
|
||||
static char *disk_free(const char *mnt);
|
||||
static char *disk_perc(const char *mnt);
|
||||
static char *disk_total(const char *mnt);
|
||||
static char *disk_used(const char *mnt);
|
||||
static char *entropy(void);
|
||||
static char *gid(void);
|
||||
static char *hostname(void);
|
||||
static char *ip(const char *);
|
||||
static char *ip(const char *iface);
|
||||
static char *load_avg(void);
|
||||
static char *ram_free(void);
|
||||
static char *ram_perc(void);
|
||||
static char *ram_used(void);
|
||||
static char *ram_total(void);
|
||||
static char *run_command(const char *);
|
||||
static char *temp(const char *);
|
||||
static char *run_command(const char *cmd);
|
||||
static char *temp(const char *file);
|
||||
static char *uid(void);
|
||||
static char *uptime(void);
|
||||
static char *username(void);
|
||||
static char *vol_perc(const char *);
|
||||
static char *wifi_perc(const char *);
|
||||
static char *wifi_essid(const char *);
|
||||
static void set_status(const char *);
|
||||
static void sighandler(const int);
|
||||
static char *vol_perc(const char *card);
|
||||
static char *wifi_perc(const char *iface);
|
||||
static char *wifi_essid(const char *iface);
|
||||
static void set_status(const char *str);
|
||||
static void sighandler(const int signo);
|
||||
static void usage(void);
|
||||
|
||||
char *argv0;
|
||||
|
Loading…
Reference in New Issue
Block a user