summaryrefslogtreecommitdiffstats
path: root/common/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/utils.c')
-rw-r--r--common/utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/utils.c b/common/utils.c
index 5f5e23b..db628ce 100644
--- a/common/utils.c
+++ b/common/utils.c
@@ -35,6 +35,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
# define util_error(...) fprintf(stderr, __VA_ARGS__)
#endif
+#ifdef USBMUXD_DAEMON
void fdlist_create(struct fdlist *list)
{
list->count = 0;
@@ -70,6 +71,7 @@ void fdlist_reset(struct fdlist *list)
{
list->count = 0;
}
+#endif
void collection_init(struct collection *col)
{