projects
/
suckless
/
slstatus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b148bf
)
consistent coding style: usage() declaration, eval is a constant
author
Aaron Marcher
<info@nulltime.net>
Fri, 30 Dec 2016 22:13:21 +0000
(23:13 +0100)
committer
Aaron Marcher
<info@nulltime.net>
Fri, 30 Dec 2016 22:13:21 +0000
(23:13 +0100)
slstatus.c
patch
|
blob
|
history
diff --git
a/slstatus.c
b/slstatus.c
index 06c1e7734d8576bf9f016e364ae9a8a94eddcc46..3ad79c046549d2347b4c60bcfd046cbed81a340e 100644
(file)
--- a/
slstatus.c
+++ b/
slstatus.c
@@
-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);