diff options
author | Aaron Marcher <info@nulltime.net> | 2016-12-30 23:13:21 +0100 |
---|---|---|
committer | Aaron Marcher <info@nulltime.net> | 2016-12-30 23:13:21 +0100 |
commit | 965a71d6784124bb101d9005b92276e2ec1ccca3 (patch) | |
tree | f159f7d2646a6fedb86d33c50cb5dc42ee6885eb /slstatus.c | |
parent | 2b148bf2ec920308ca4809b7e2737c3a2db1a630 (diff) |
consistent coding style: usage() declaration, eval is a constant
Diffstat (limited to 'slstatus.c')
-rw-r--r-- | slstatus.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -69,7 +69,7 @@ static char *vol_perc(const char *card); static char *wifi_perc(const char *iface); static char *wifi_essid(const char *iface); static void sighandler(const int signo); -static void usage(int); +static void usage(const int eval); char *argv0; char concat[]; @@ -746,7 +746,7 @@ sighandler(const int signo) } static void -usage(int eval) +usage(const int eval) { fprintf(stderr, "usage: %s [-d] [-o] [-v] [-h]\n", argv0); exit(eval); |