aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ioops.c3
-rw-r--r--src/ioops.h8
2 files changed, 0 insertions, 11 deletions
diff --git a/src/ioops.c b/src/ioops.c
index fde862b50..725d2ea92 100644
--- a/src/ioops.c
+++ b/src/ioops.c
@@ -20,8 +20,6 @@
/* Eventually the listener protocol will use this, too */
-#ifdef HAVE_ZEROCONF
-
/*
* functions and variables in this file are only used by a single thread and
* thus do not need to be thread-safe
@@ -84,4 +82,3 @@ void deregisterIO(struct ioOps *ops)
ops->prev->next = ops->next;
}
-#endif /* HAVE_ZEROCONF */
diff --git a/src/ioops.h b/src/ioops.h
index 6b23b0940..0df30646b 100644
--- a/src/ioops.h
+++ b/src/ioops.h
@@ -22,7 +22,6 @@
#include "../config.h"
#include "os_compat.h"
-#ifdef HAVE_ZEROCONF
struct ioOps {
struct ioOps *prev, *next;
@@ -58,11 +57,4 @@ void registered_IO_add_fds(int *fdmax,
/* Consume fds for all registered IO handlers */
void registered_IO_consume_fds(int *selret,
fd_set * rfds, fd_set * wfds, fd_set * efds);
-#else /* ! HAVE_ZEROCONF */
-
-#define registered_IO_add_fds(fdmax,rfds,wfds,efds)
-#define registered_IO_consume_fds(selret,rfds,wfds,efds)
-
-#endif /* HAVE_ZEROCONF */
-
#endif