aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-03 14:26:29 +0200
committerMax Kellermann <max@duempel.org>2008-10-03 14:26:29 +0200
commit492c5295389440982412a58fd008b36df0537d16 (patch)
tree94d82d5c1ebad085b3aca347e891a8f2aea80ee6
parent182a5fe764a50a35738ee2ea5f8a5b8f5c31144c (diff)
downloadmpd-492c5295389440982412a58fd008b36df0537d16.tar.gz
mpd-492c5295389440982412a58fd008b36df0537d16.tar.xz
mpd-492c5295389440982412a58fd008b36df0537d16.zip
don't import mpdclient_finish_command() twice
mpdclient_finish_command() is already imported by mpdclient.h, don't do it again in the sources.
-rw-r--r--src/screen_browser.c2
-rw-r--r--src/screen_search.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/screen_browser.c b/src/screen_browser.c
index 4457e7e59..e68e70285 100644
--- a/src/screen_browser.c
+++ b/src/screen_browser.c
@@ -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)
diff --git a/src/screen_search.c b/src/screen_search.c
index ba5b1c0d5..b5b24964d 100644
--- a/src/screen_search.c
+++ b/src/screen_search.c
@@ -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;