From: Max Kellermann Date: Fri, 3 Oct 2008 12:26:29 +0000 (+0200) Subject: don't import mpdclient_finish_command() twice X-Git-Tag: v0.12_alpha1~81 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=492c5295389440982412a58fd008b36df0537d16;p=ncmpc.git don't import mpdclient_finish_command() twice mpdclient_finish_command() is already imported by mpdclient.h, don't do it again in the sources. --- 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;