From 5c689534f6d7d8db8eb59500648b8deb9ee1d70b Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Wed, 8 Mar 2017 16:00:45 +0100 Subject: [PATCH] ospfd: remove unused usage() function ... forgot this one in the previous patchset. Signed-off-by: David Lamparter --- ospfd/ospf_main.c | 15 --------------- 1 file changed, 15 deletions(-) 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) -- 2.39.5