From 965a71d6784124bb101d9005b92276e2ec1ccca3 Mon Sep 17 00:00:00 2001 From: Aaron Marcher Date: Fri, 30 Dec 2016 23:13:21 +0100 Subject: consistent coding style: usage() declaration, eval is a constant --- slstatus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'slstatus.c') diff --git a/slstatus.c b/slstatus.c index 06c1e77..3ad79c0 100644 --- 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); -- cgit v1.2.3