aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-04-13 18:04:02 +0000
committerEric Wong <normalperson@yhbt.net>2008-04-13 18:04:02 +0000
commit0f040a70305c76146cfd153c9f697311c4199699 (patch)
treee7db62b10335cc000060cf766cb46e7b2770351a /src
parent412ce8bdc48f05963b7ef7eca27d760aff3a8500 (diff)
downloadmpd-0f040a70305c76146cfd153c9f697311c4199699.tar.gz
mpd-0f040a70305c76146cfd153c9f697311c4199699.tar.xz
mpd-0f040a70305c76146cfd153c9f697311c4199699.zip
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
Diffstat (limited to '')
-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