summaryrefslogtreecommitdiff
path: root/usr.sbin/mrouted/route.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
commit6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch)
treeee423c619fad03813234b9362694a17f3a638f0b /usr.sbin/mrouted/route.c
parentc707cb295fc3cac8d8feb343e949e0dcf71b8476 (diff)
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'usr.sbin/mrouted/route.c')
-rw-r--r--usr.sbin/mrouted/route.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/mrouted/route.c b/usr.sbin/mrouted/route.c
index 6765ae95548..7657cdd25ef 100644
--- a/usr.sbin/mrouted/route.c
+++ b/usr.sbin/mrouted/route.c
@@ -42,10 +42,10 @@ unsigned int nroutes; /* current number of route entries */
*/
static int init_children_and_leaves __P((struct rtentry *r,
vifi_t parent));
-static int find_route __P((u_int32_t origin, u_int32_t mask));
-static void create_route __P((u_int32_t origin, u_int32_t mask));
-static void discard_route __P((struct rtentry *prev_r));
-static int compare_rts __P((const void *rt1, const void *rt2));
+static int find_route(u_int32_t origin, u_int32_t mask);
+static void create_route(u_int32_t origin, u_int32_t mask);
+static void discard_route(struct rtentry *prev_r);
+static int compare_rts(const void *rt1, const void *rt2);
static int report_chunk __P((struct rtentry *start_rt, vifi_t vifi,
u_int32_t dst));