1
0

suckless coding style -> added back function prototypes argument variable names

This commit is contained in:
Aaron Marcher 2016-09-18 17:26:01 +02:00 committed by Aaron Marcher (drkhsh)
parent d1423010d0
commit 0fe8e5a961

View File

@ -37,34 +37,34 @@ struct arg {
const char *args; const char *args;
}; };
static char *smprintf(const char *, ...); static char *smprintf(const char *fmt, ...);
static char *battery_perc(const char *); static char *battery_perc(const char *bat);
static char *battery_state(const char *); static char *battery_state(const char *bat);
static char *cpu_perc(void); static char *cpu_perc(void);
static char *datetime(const char *); static char *datetime(const char *fmt);
static char *disk_free(const char *); static char *disk_free(const char *mnt);
static char *disk_perc(const char *); static char *disk_perc(const char *mnt);
static char *disk_total(const char *); static char *disk_total(const char *mnt);
static char *disk_used(const char *); static char *disk_used(const char *mnt);
static char *entropy(void); static char *entropy(void);
static char *gid(void); static char *gid(void);
static char *hostname(void); static char *hostname(void);
static char *ip(const char *); static char *ip(const char *iface);
static char *load_avg(void); static char *load_avg(void);
static char *ram_free(void); static char *ram_free(void);
static char *ram_perc(void); static char *ram_perc(void);
static char *ram_used(void); static char *ram_used(void);
static char *ram_total(void); static char *ram_total(void);
static char *run_command(const char *); static char *run_command(const char *cmd);
static char *temp(const char *); static char *temp(const char *file);
static char *uid(void); static char *uid(void);
static char *uptime(void); static char *uptime(void);
static char *username(void); static char *username(void);
static char *vol_perc(const char *); static char *vol_perc(const char *card);
static char *wifi_perc(const char *); static char *wifi_perc(const char *iface);
static char *wifi_essid(const char *); static char *wifi_essid(const char *iface);
static void set_status(const char *); static void set_status(const char *str);
static void sighandler(const int); static void sighandler(const int signo);
static void usage(void); static void usage(void);
char *argv0; char *argv0;