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
This commit is contained in:
Eric Wong 2008-04-13 18:04:02 +00:00
parent 412ce8bdc4
commit 0f040a7030
2 changed files with 0 additions and 11 deletions

View File

@ -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 */

View File

@ -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