1
0
Fork 0

consistent coding style: usage() declaration, eval is a constant

This commit is contained in:
Aaron Marcher 2016-12-30 23:13:21 +01:00
parent 2b148bf2ec
commit 965a71d678
No known key found for this signature in database
GPG key ID: 74B048E5C2474F9A

View file

@ -69,7 +69,7 @@ static char *vol_perc(const char *card);
static char *wifi_perc(const char *iface); static char *wifi_perc(const char *iface);
static char *wifi_essid(const char *iface); static char *wifi_essid(const char *iface);
static void sighandler(const int signo); static void sighandler(const int signo);
static void usage(int); static void usage(const int eval);
char *argv0; char *argv0;
char concat[]; char concat[];
@ -746,7 +746,7 @@ sighandler(const int signo)
} }
static void static void
usage(int eval) usage(const int eval)
{ {
fprintf(stderr, "usage: %s [-d] [-o] [-v] [-h]\n", argv0); fprintf(stderr, "usage: %s [-d] [-o] [-v] [-h]\n", argv0);
exit(eval); exit(eval);