diff options
author | kn <kn@cvs.openbsd.org> | 2018-09-25 19:48:15 +0000 |
---|---|---|
committer | kn <kn@cvs.openbsd.org> | 2018-09-25 19:48:15 +0000 |
commit | f85a906a8203489285982a9165e66f6af6a98b3d (patch) | |
tree | 547ee91d89fcea43e09c8b665419c5b29539461d /usr.bin | |
parent | 04a42b72366f30ddd7d99065215f5b987bfdcfb5 (diff) |
usage() is void
OK tb
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/getent/getent.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/getent/getent.c b/usr.bin/getent/getent.c index c7437a524cf..01ac87a85f7 100644 --- a/usr.bin/getent/getent.c +++ b/usr.bin/getent/getent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getent.c,v 1.16 2018/09/25 06:48:48 mestre Exp $ */ +/* $OpenBSD: getent.c,v 1.17 2018/09/25 19:48:14 kn Exp $ */ /* $NetBSD: getent.c,v 1.7 2005/08/24 14:31:02 ginsbach Exp $ */ /*- @@ -55,7 +55,7 @@ #include <rpc/rpc.h> -static int usage(void); +static void usage(void); static int ethers(int, char *[]); static int group(int, char *[]); static int hosts(int, char *[]); @@ -115,12 +115,11 @@ main(int argc, char *argv[]) return RV_USAGE; } -static int +static void usage(void) { fprintf(stderr, "usage: %s database [key ...]\n", __progname); exit(RV_USAGE); - /* NOTREACHED */ } /* |