From: David Lamparter Date: Wed, 8 Mar 2017 15:00:45 +0000 (+0100) Subject: ospfd: remove unused usage() function X-Git-Tag: frr-3.1-dev~37^2~4 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=5c689534f6d7d8db8eb59500648b8deb9ee1d70b;p=matthieu%2Ffrr.git ospfd: remove unused usage() function ... forgot this one in the previous patchset. Signed-off-by: David Lamparter --- diff --git a/ospfd/ospf_main.c b/ospfd/ospf_main.c index 5705dad5d4..f462c207e4 100644 --- a/ospfd/ospf_main.c +++ b/ospfd/ospf_main.c @@ -93,21 +93,6 @@ struct thread_master *master; extern int ospf_apiserver_enable; #endif /* SUPPORT_OSPF_API */ -/* Help information display. */ -static void __attribute__ ((noreturn)) -usage (char *progname, int status) -{ - if (status != 0) - fprintf (stderr, "Try `%s --help' for more information.\n", progname); - else - { - printf ("Usage : %s [OPTION...]\n\ -\n\ -Report bugs to %s\n", progname, FRR_BUG_ADDRESS); - } - exit (status); -} - /* SIGHUP handler. */ static void sighup (void)