summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.h
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-08-04 12:41:49 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-08-04 12:41:49 +0000
commitaaba58424f05f62923f0ac8b0e38a931f61d9414 (patch)
treede2abdcf69e4aaf85eaba1c1ab58d01defe38ec8 /usr.sbin/bgpd/session.h
parenta609a60005e3f3b53ee517011e14db55ebb0ccad (diff)
session_main() and rde_main() return... right, a pid. and a pid is a pid_t
and not an int.
Diffstat (limited to 'usr.sbin/bgpd/session.h')
-rw-r--r--usr.sbin/bgpd/session.h6
1 files changed, 3 insertions, 3 deletions
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 */