diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2016-08-12 21:31:12 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2016-08-12 21:31:12 +0000 |
commit | 75253db2ad75e59c3d1df34a19b2b27874e15dc0 (patch) | |
tree | 3dc004650f02379308f0dc978dee2619a379f903 /usr.bin/jot/jot.c | |
parent | 78acd948bafcd878cff77b041f4c3dd93f080642 (diff) |
usage() is __dead
Diffstat (limited to 'usr.bin/jot/jot.c')
-rw-r--r-- | usr.bin/jot/jot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/jot/jot.c b/usr.bin/jot/jot.c index 160059c8b1e..2235bfce97a 100644 --- a/usr.bin/jot/jot.c +++ b/usr.bin/jot/jot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: jot.c,v 1.32 2016/08/12 21:17:41 tb Exp $ */ +/* $OpenBSD: jot.c,v 1.33 2016/08/12 21:31:11 tb Exp $ */ /* $NetBSD: jot.c,v 1.3 1994/12/02 20:29:43 pk Exp $ */ /*- @@ -78,7 +78,7 @@ static char format[BUFSIZ]; static void getformat(void); static int getprec(char *); static int putdata(double, bool); -static void usage(void); +static void __dead usage(void); int main(int argc, char *argv[]) @@ -336,7 +336,7 @@ putdata(double x, bool last) return (0); } -static void +static void __dead usage(void) { (void)fprintf(stderr, "usage: jot [-cnr] [-b word] [-p precision] " |