aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_utils.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-03 14:31:00 +0200
committerMax Kellermann <max@duempel.org>2008-10-03 14:31:00 +0200
commitef040e296e46fcc7620edaf89ffac05e065ec3e3 (patch)
tree8836cbeb47208a2f949d6f44a093f795f03f37cb /src/screen_utils.h
parent0b2eee9489a8acef3cdee6f6fa0df6d167c53b8d (diff)
downloadmpd-ef040e296e46fcc7620edaf89ffac05e065ec3e3.tar.gz
mpd-ef040e296e46fcc7620edaf89ffac05e065ec3e3.tar.xz
mpd-ef040e296e46fcc7620edaf89ffac05e065ec3e3.zip
screen: export the global variable "screen"
screen_t is a singleton. We do not have to pass it around everywhere. Export the one global variable.
Diffstat (limited to 'src/screen_utils.h')
-rw-r--r--src/screen_utils.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/screen_utils.h b/src/screen_utils.h
index 74ca7d012..a550f1742 100644
--- a/src/screen_utils.h
+++ b/src/screen_utils.h
@@ -6,7 +6,6 @@
#include <ncurses.h>
-struct screen;
struct mpdclient;
/* sound an audible and/or visible bell */
@@ -22,8 +21,7 @@ char *screen_readln(WINDOW *w, const char *prompt, const char *value,
char *screen_readln_masked(WINDOW *w, const char *prompt);
char *screen_read_pasword(WINDOW *w, const char *prompt);
/* query user for a string and find it in a list window */
-int screen_find(struct screen *screen,
- struct list_window *lw,
+int screen_find(struct list_window *lw,
int rows,
command_t findcmd,
list_window_callback_fn_t callback_fn,
@@ -31,7 +29,7 @@ int screen_find(struct screen *screen,
gint screen_auth(struct mpdclient *c);
-void screen_display_completion_list(struct screen *screen, GList *list);
+void screen_display_completion_list(GList *list);
void set_xterm_title(const char *format, ...);