From 0f040a70305c76146cfd153c9f697311c4199699 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 13 Apr 2008 18:04:02 +0000 Subject: Always compile ioops.h, since main_notify uses it now git-svn-id: https://svn.musicpd.org/mpd/trunk@7356 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/ioops.c | 3 --- src/ioops.h | 8 -------- 2 files changed, 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 -- cgit v1.2.3