summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/ospfd.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2005-02-02 18:52:33 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2005-02-02 18:52:33 +0000
commit83a00afe7a1486ad9fcba02ca391baa0485ace4d (patch)
treefa0b316932b19866f520f7d6045fd7cf77bb8827 /usr.sbin/ospfd/ospfd.c
parentc27f792810fde5dc9397ebc1fd488df0499779f9 (diff)
usage() is __dead
pt out by Alexander v Gernler
Diffstat (limited to 'usr.sbin/ospfd/ospfd.c')
-rw-r--r--usr.sbin/ospfd/ospfd.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/ospfd/ospfd.c b/usr.sbin/ospfd/ospfd.c
index 4cc48854ad8..9e5d8feba44 100644
--- a/usr.sbin/ospfd/ospfd.c
+++ b/usr.sbin/ospfd/ospfd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfd.c,v 1.2 2005/01/28 17:53:33 norby Exp $ */
+/* $OpenBSD: ospfd.c,v 1.3 2005/02/02 18:52:32 henning Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -45,10 +45,10 @@
#include "log.h"
#include "rde.h"
-void main_sig_handler(int, short, void *);
-void usage(void);
-void ospfd_shutdown(void);
-int check_child(pid_t, const char *);
+void main_sig_handler(int, short, void *);
+__dead void usage(void);
+void ospfd_shutdown(void);
+int check_child(pid_t, const char *);
void main_dispatch_ospfe(int, short, void *);
void main_dispatch_rde(int, short, void *);
@@ -102,7 +102,7 @@ main_sig_handler(int sig, short event, void *arg)
}
}
-void
+__dead void
usage(void)
{
extern char *__progname;