Code

don't import mpdclient_finish_command() twice
authorMax Kellermann <max@duempel.org>
Fri, 3 Oct 2008 12:26:29 +0000 (14:26 +0200)
committerMax Kellermann <max@duempel.org>
Fri, 3 Oct 2008 12:26:29 +0000 (14:26 +0200)
mpdclient_finish_command() is already imported by mpdclient.h, don't
do it again in the sources.

src/screen_browser.c
src/screen_search.c

index 4457e7e5954628dc03d15588b7f32a75a30cc71e..e68e7028556ac27feac7825754b4b09f99e7d40a 100644 (file)
@@ -279,8 +279,6 @@ browser_handle_enter(struct screen_browser *browser, mpdclient_t *c)
 
 
 #ifdef USE_OLD_ADD
-/* NOTE - The add_directory functions should move to mpdclient.c */
-extern gint mpdclient_finish_command(mpdclient_t *c);
 
 static int
 add_directory(mpdclient_t *c, char *dir)
index ba5b1c0d5013ae6cc4561bee907f572b0da07985..b5b24964d34efb8c5d3309f679858d3daf7c1b40 100644 (file)
@@ -34,8 +34,6 @@
 #include <glib.h>
 #include <ncurses.h>
 
-extern gint mpdclient_finish_command(mpdclient_t *c);
-
 typedef struct {
        int id;
        const char *name;