From 75253db2ad75e59c3d1df34a19b2b27874e15dc0 Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Fri, 12 Aug 2016 21:31:12 +0000 Subject: usage() is __dead --- usr.bin/jot/jot.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.bin/jot') 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] " -- cgit v1.2.3