Code

mpdclient: include utils.h
authorMax Kellermann <max@duempel.org>
Thu, 11 Jun 2009 12:24:54 +0000 (14:24 +0200)
committerMax Kellermann <max@duempel.org>
Thu, 11 Jun 2009 12:24:54 +0000 (14:24 +0200)
Don't import string_list_free() manually.

src/mpdclient.c

index 289633880d7869e99477c5f0cb2c5f77e315c3cd..aeaf44b803fe86933a54c16214bfbae27d27f81d 100644 (file)
@@ -22,6 +22,7 @@
 #include "config.h"
 #include "options.h"
 #include "strfsong.h"
+#include "utils.h"
 
 #include <stdlib.h>
 #include <unistd.h>
 
 #define MPD_ERROR(c) (c==NULL || c->connection==NULL || c->connection->error)
 
-/* from utils.c */
-extern GList *string_list_free(GList *string_list);
-
-
 /* filelist sorting functions */
 static gint
 compare_filelistentry(gconstpointer filelist_entry1,