diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2005-02-02 18:52:33 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2005-02-02 18:52:33 +0000 |
commit | 83a00afe7a1486ad9fcba02ca391baa0485ace4d (patch) | |
tree | fa0b316932b19866f520f7d6045fd7cf77bb8827 /usr.sbin/bgpd | |
parent | c27f792810fde5dc9397ebc1fd488df0499779f9 (diff) |
usage() is __dead
pt out by Alexander v Gernler
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r-- | usr.sbin/bgpd/bgpd.c | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/usr.sbin/bgpd/bgpd.c b/usr.sbin/bgpd/bgpd.c index f761da13ede..a238c577183 100644 --- a/usr.sbin/bgpd/bgpd.c +++ b/usr.sbin/bgpd/bgpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.c,v 1.111 2004/11/23 13:07:01 claudio Exp $ */ +/* $OpenBSD: bgpd.c,v 1.112 2005/02/02 18:52:32 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -36,14 +36,15 @@ #include "bgpd.h" #include "session.h" -void sighdlr(int); -void usage(void); -int main(int, char *[]); -int check_child(pid_t, const char *); -int send_filterset(struct imsgbuf *, struct filter_set_head *, int, int); -int reconfigure(char *, struct bgpd_config *, struct mrt_head *, - struct peer **, struct filter_head *); -int dispatch_imsg(struct imsgbuf *, int); +void sighdlr(int); +__dead void usage(void); +int main(int, char *[]); +int check_child(pid_t, const char *); +int send_filterset(struct imsgbuf *, struct filter_set_head *, + int, int); +int reconfigure(char *, struct bgpd_config *, struct mrt_head *, + struct peer **, struct filter_head *); +int dispatch_imsg(struct imsgbuf *, int); int rfd = -1; volatile sig_atomic_t mrtdump = 0; @@ -74,7 +75,7 @@ sighdlr(int sig) } } -void +__dead void usage(void) { extern char *__progname; |