]> git.puffer.fish Git - matthieu/frr.git/commitdiff
ospfd: remove unused usage() function
authorDavid Lamparter <equinox@opensourcerouting.org>
Wed, 8 Mar 2017 15:00:45 +0000 (16:00 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Wed, 8 Mar 2017 15:04:38 +0000 (16:04 +0100)
... forgot this one in the previous patchset.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
ospfd/ospf_main.c

index 5705dad5d478ac4c388462b83edd0d9588b067f8..f462c207e4597d3f1cdfbdd99a2435fa6ce1cd45 100644 (file)
@@ -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)