From: tb Date: Fri, 12 Aug 2016 21:31:11 +0000 (+0000) Subject: usage() is __dead X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b9d09fecd01f7afd58f7983ac74e2c39853b4e87;p=openbsd usage() is __dead --- 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] "