From 492c5295389440982412a58fd008b36df0537d16 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 3 Oct 2008 14:26:29 +0200 Subject: [PATCH] don't import mpdclient_finish_command() twice mpdclient_finish_command() is already imported by mpdclient.h, don't do it again in the sources. --- src/screen_browser.c | 2 -- src/screen_search.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/screen_browser.c b/src/screen_browser.c index 4457e7e..e68e702 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 ba5b1c0..b5b2496 100644 --- a/src/screen_search.c +++ b/src/screen_search.c @@ -34,8 +34,6 @@ #include #include -extern gint mpdclient_finish_command(mpdclient_t *c); - typedef struct { int id; const char *name; -- 2.30.2