diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2017-01-20 04:03:54 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2017-01-20 04:03:54 +0000 |
commit | ef9b227a1e730c393467b99ac51e02bc7a7474dc (patch) | |
tree | 5c172682af7066b09ac2253cec0f04ffbfd5b8ae | |
parent | 8ca3cc653d082dcc0babf071f8320bf2e8813d0a (diff) |
Straggling __dead. Mark usage() as __dead and make gcc happier.
-rw-r--r-- | usr.bin/ftp/extern.h | 5 | ||||
-rw-r--r-- | usr.bin/ftp/main.c | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/usr.bin/ftp/extern.h b/usr.bin/ftp/extern.h index 64b95240b4c..315f5cea656 100644 --- a/usr.bin/ftp/extern.h +++ b/usr.bin/ftp/extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: extern.h,v 1.47 2017/01/03 17:00:04 deraadt Exp $ */ +/* $OpenBSD: extern.h,v 1.48 2017/01/20 04:03:53 krw Exp $ */ /* $NetBSD: extern.h,v 1.17 1997/08/18 10:20:19 lukem Exp $ */ /* @@ -109,7 +109,8 @@ void sethash(int, char **); void setpeer(int, char **); void setttywidth(int); char *slurpstring(void); -void usage(void); + +__dead void usage(void); void cookie_get(const char *, const char *, int, char **); void cookie_load(void); diff --git a/usr.bin/ftp/main.c b/usr.bin/ftp/main.c index e7a3c17db97..7b47cf4436a 100644 --- a/usr.bin/ftp/main.c +++ b/usr.bin/ftp/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.116 2017/01/03 17:00:04 deraadt Exp $ */ +/* $OpenBSD: main.c,v 1.117 2017/01/20 04:03:53 krw Exp $ */ /* $NetBSD: main.c,v 1.24 1997/08/18 10:20:26 lukem Exp $ */ /* @@ -914,7 +914,7 @@ help(int argc, char *argv[]) } #endif /* !SMALL */ -void +__dead void usage(void) { fprintf(stderr, "usage: " |