summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfctl/ospfctl.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2006-08-23 08:26:04 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2006-08-23 08:26:04 +0000
commit2dab7d8c7daa0b76444e81d573047834721d7f96 (patch)
tree8e3048c3c7c69139b74f9734a5f96e5412ba4bad /usr.sbin/ospfctl/ospfctl.c
parent49b966edc408a9e70c5970d393159ca8c03ebe1c (diff)
Add a comment about the empty imsg_event_add() function to make it clear
why it is needed.
Diffstat (limited to 'usr.sbin/ospfctl/ospfctl.c')
-rw-r--r--usr.sbin/ospfctl/ospfctl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ospfctl/ospfctl.c b/usr.sbin/ospfctl/ospfctl.c
index 0bac85fb98e..47777fe638d 100644
--- a/usr.sbin/ospfctl/ospfctl.c
+++ b/usr.sbin/ospfctl/ospfctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfctl.c,v 1.34 2006/06/28 10:53:39 norby Exp $ */
+/* $OpenBSD: ospfctl.c,v 1.35 2006/08/23 08:26:03 claudio Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -80,9 +80,11 @@ usage(void)
exit(1);
}
+/* dummy function so that ospfctl does not need libevent */
void
imsg_event_add(struct imsgbuf *i)
{
+ /* nothing */
}
int