diff options
author | 2018-09-25 19:48:14 +0000 | |
---|---|---|
committer | 2018-09-25 19:48:14 +0000 | |
commit | 7fb2109d117d9892d6272a867638ac4e01cf5fb1 (patch) | |
tree | 2a5531e98e6c11ba4c622a53bd79bccad88a2eb4 | |
parent | fix typo in comment (diff) | |
download | wireguard-openbsd-7fb2109d117d9892d6272a867638ac4e01cf5fb1.tar.xz wireguard-openbsd-7fb2109d117d9892d6272a867638ac4e01cf5fb1.zip |
usage() is void
OK tb
-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 */ } /* |