diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-08-04 12:41:49 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-08-04 12:41:49 +0000 |
commit | aaba58424f05f62923f0ac8b0e38a931f61d9414 (patch) | |
tree | de2abdcf69e4aaf85eaba1c1ab58d01defe38ec8 | |
parent | a609a60005e3f3b53ee517011e14db55ebb0ccad (diff) |
session_main() and rde_main() return... right, a pid. and a pid is a pid_t
and not an int.
-rw-r--r-- | usr.sbin/bgpd/rde.c | 4 | ||||
-rw-r--r-- | usr.sbin/bgpd/session.c | 4 | ||||
-rw-r--r-- | usr.sbin/bgpd/session.h | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c index 54499d1ac62..dca08faf2cf 100644 --- a/usr.sbin/bgpd/rde.c +++ b/usr.sbin/bgpd/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.130 2004/07/30 14:44:30 claudio Exp $ */ +/* $OpenBSD: rde.c,v 1.131 2004/08/04 12:41:48 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -102,7 +102,7 @@ u_int32_t peerhashsize = 64; u_int32_t pathhashsize = 1024; u_int32_t nexthophashsize = 64; -int +pid_t rde_main(struct bgpd_config *config, struct network_head *net_l, struct filter_head *rules, struct mrt_head *mrt_l, int pipe_m2r[2], int pipe_s2r[2], int pipe_m2s[2]) diff --git a/usr.sbin/bgpd/session.c b/usr.sbin/bgpd/session.c index 5988b9c0db8..d70829e880a 100644 --- a/usr.sbin/bgpd/session.c +++ b/usr.sbin/bgpd/session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: session.c,v 1.183 2004/07/13 17:57:20 jaredy Exp $ */ +/* $OpenBSD: session.c,v 1.184 2004/08/04 12:41:48 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -155,7 +155,7 @@ setup_listeners(u_int *la_cnt) return (0); } -int +pid_t session_main(struct bgpd_config *config, struct peer *cpeers, struct network_head *net_l, struct filter_head *rules, struct mrt_head *m_l, int pipe_m2s[2], int pipe_s2r[2], int pipe_m2r[2]) diff --git a/usr.sbin/bgpd/session.h b/usr.sbin/bgpd/session.h index a7e961cb28b..162d8738094 100644 --- a/usr.sbin/bgpd/session.h +++ b/usr.sbin/bgpd/session.h @@ -1,4 +1,4 @@ -/* $OpenBSD: session.h,v 1.58 2004/07/04 03:51:31 henning Exp $ */ +/* $OpenBSD: session.h,v 1.59 2004/08/04 12:41:48 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -187,7 +187,7 @@ struct peer *peers; /* session.c */ void session_socket_blockmode(int, enum blockmodes); -int session_main(struct bgpd_config *, struct peer *, +pid_t session_main(struct bgpd_config *, struct peer *, struct network_head *, struct filter_head *, struct mrt_head *, int[2], int[2], int[2]); void bgp_fsm(struct peer *, enum session_events); @@ -213,7 +213,7 @@ int merge_config(struct bgpd_config *, struct bgpd_config *, void prepare_listeners(struct bgpd_config *); /* rde.c */ -int rde_main(struct bgpd_config *, struct network_head *, +pid_t rde_main(struct bgpd_config *, struct network_head *, struct filter_head *, struct mrt_head *, int[2], int[2], int[2]); /* control.c */ |