From 2dab7d8c7daa0b76444e81d573047834721d7f96 Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Wed, 23 Aug 2006 08:26:04 +0000 Subject: Add a comment about the empty imsg_event_add() function to make it clear why it is needed. --- usr.sbin/ospfctl/ospfctl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'usr.sbin/ospfctl/ospfctl.c') 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 @@ -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 -- cgit v1.2.3