summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd
diff options
context:
space:
mode:
authorPierre-Yves Ritschard <pyr@cvs.openbsd.org>2007-04-05 18:50:46 +0000
committerPierre-Yves Ritschard <pyr@cvs.openbsd.org>2007-04-05 18:50:46 +0000
commitcb74df93525fce32f87e454311d83c0ffca77809 (patch)
tree85fb369c2c95b0aa533b3fa033d0ad12ae5d0445 /usr.sbin/ospfd
parent6be1e21b1e33b7234ac090e0355bf2b5c394cc9b (diff)
remove an unused function.
ok claudio@
Diffstat (limited to 'usr.sbin/ospfd')
-rw-r--r--usr.sbin/ospfd/rde.c9
-rw-r--r--usr.sbin/ospfd/rde.h3
2 files changed, 2 insertions, 10 deletions
diff --git a/usr.sbin/ospfd/rde.c b/usr.sbin/ospfd/rde.c
index 0f2e6c20677..c396b583492 100644
--- a/usr.sbin/ospfd/rde.c
+++ b/usr.sbin/ospfd/rde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.c,v 1.63 2007/04/04 12:45:44 claudio Exp $ */
+/* $OpenBSD: rde.c,v 1.64 2007/04/05 18:50:45 pyr Exp $ */
/*
* Copyright (c) 2004, 2005 Claudio Jeker <claudio@openbsd.org>
@@ -211,13 +211,6 @@ rde_shutdown(void)
_exit(0);
}
-/* imesg */
-int
-rde_imsg_compose_parent(int type, pid_t pid, void *data, u_int16_t datalen)
-{
- return (imsg_compose(ibuf_main, type, 0, pid, data, datalen));
-}
-
int
rde_imsg_compose_ospfe(int type, u_int32_t peerid, pid_t pid, void *data,
u_int16_t datalen)
diff --git a/usr.sbin/ospfd/rde.h b/usr.sbin/ospfd/rde.h
index 8213cae4698..3ea897ccd51 100644
--- a/usr.sbin/ospfd/rde.h
+++ b/usr.sbin/ospfd/rde.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.h,v 1.31 2007/01/29 13:04:13 claudio Exp $ */
+/* $OpenBSD: rde.h,v 1.32 2007/04/05 18:50:45 pyr Exp $ */
/*
* Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
@@ -94,7 +94,6 @@ extern struct lsa_tree asext_tree;
/* rde.c */
pid_t rde(struct ospfd_conf *, int [2], int [2], int [2]);
-int rde_imsg_compose_parent(int, pid_t, void *, u_int16_t);
int rde_imsg_compose_ospfe(int, u_int32_t, pid_t, void *,
u_int16_t);
u_int32_t rde_router_id(void);