diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2017-06-27 15:58:08 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2017-06-27 15:58:08 +0000 |
commit | 2e45334f2e2b57a12d5da40b70b053f33e7ffaa4 (patch) | |
tree | 221647eaa505e61ce5a8cde993c6a2bd33e21048 | |
parent | 9545435487a8b6e4d3bda0c272b1e4106712b47e (diff) |
move a global into local context; from rob pierce
-rw-r--r-- | usr.sbin/bgpd/bgpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/bgpd.c b/usr.sbin/bgpd/bgpd.c index 110f699f0c7..475c83ad696 100644 --- a/usr.sbin/bgpd/bgpd.c +++ b/usr.sbin/bgpd/bgpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.c,v 1.189 2017/05/28 15:16:33 henning Exp $ */ +/* $OpenBSD: bgpd.c,v 1.190 2017/06/27 15:58:07 deraadt Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -48,7 +48,6 @@ int dispatch_imsg(struct imsgbuf *, int, struct bgpd_config *); int control_setup(struct bgpd_config *); int imsg_send_sockets(struct imsgbuf *, struct imsgbuf *); -int rfd = -1; int cflags; volatile sig_atomic_t mrtdump; volatile sig_atomic_t quit; @@ -108,6 +107,7 @@ main(int argc, char *argv[]) char *saved_argv0; int debug = 0; int rflag = 0, sflag = 0; + int rfd = -1; int ch, timeout, status; int pipe_m2s[2]; int pipe_m2r[2]; |