summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpyr <pyr@openbsd.org>2007-04-05 18:50:45 +0000
committerpyr <pyr@openbsd.org>2007-04-05 18:50:45 +0000
commit0bdec30cbe0f5fcdbc1d103ef0ff95a0ef9cd4f3 (patch)
tree5711593a16bd48512a99fe09253700e5a924da50
parentno more bcw (diff)
downloadwireguard-openbsd-0bdec30cbe0f5fcdbc1d103ef0ff95a0ef9cd4f3.tar.xz
wireguard-openbsd-0bdec30cbe0f5fcdbc1d103ef0ff95a0ef9cd4f3.zip
remove an unused function.
ok claudio@
-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);