Code

screen_search: removed the FUTURE macro
authorMax Kellermann <max@duempel.org>
Fri, 3 Oct 2008 12:26:27 +0000 (14:26 +0200)
committerMax Kellermann <max@duempel.org>
Fri, 3 Oct 2008 12:26:27 +0000 (14:26 +0200)
The future is now!

src/screen_search.c

index a1f5045acf0b2d42905994abb305eebcb76d3947..ba5b1c0d5013ae6cc4561bee907f572b0da07985 100644 (file)
 #include <glib.h>
 #include <ncurses.h>
 
-/* new search stuff with qball's libmpdclient */
-#define FUTURE
-
-#ifdef FUTURE
-
 extern gint mpdclient_finish_command(mpdclient_t *c);
 
 typedef struct {
@@ -77,8 +72,6 @@ search_get_tag_id(char *name)
        return -1;
 }
 
-#endif
-
 #define SEARCH_TITLE    0
 #define SEARCH_ARTIST   1
 #define SEARCH_ALBUM    2
@@ -189,7 +182,6 @@ search_clear(mpd_unused screen_t *screen, mpdclient_t *c,
        }
 }
 
-#ifdef FUTURE
 static mpdclient_filelist_t *
 filelist_search(mpdclient_t *c, mpd_unused int exact_match, int table,
                gchar *local_pattern)
@@ -313,9 +305,6 @@ search_advanced_query(char *query, mpdclient_t *c)
 
        return fl;
 }
-#else
-#define search_advanced_query(pattern,c) (NULL)
-#endif
 
 static void
 search_new(screen_t *screen, mpdclient_t *c)