diff options
author | Max Kellermann <max@duempel.org> | 2008-09-15 12:27:29 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-15 12:27:29 +0200 |
commit | 76a8fab4adc293982f355609b89dde88d5f355e0 (patch) | |
tree | b8fe58ce54cade4122402c57328a9691064b2590 /src/screen.h | |
parent | 0b3bcb6c7f1bb4a633896b8a9936e498570ef8e1 (diff) | |
download | mpd-76a8fab4adc293982f355609b89dde88d5f355e0.tar.gz mpd-76a8fab4adc293982f355609b89dde88d5f355e0.tar.xz mpd-76a8fab4adc293982f355609b89dde88d5f355e0.zip |
fix function prototypes
Add missing prototypes, and fix wrong prototypes. Convert lots of
functions to "static" when they are only used within the current
source file.
Diffstat (limited to '')
-rw-r--r-- | src/screen.h | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/src/screen.h b/src/screen.h index 4f3057df8..0ecd9ef2c 100644 --- a/src/screen.h +++ b/src/screen.h @@ -65,6 +65,8 @@ typedef struct { screen_get_lw_fn_t get_lw; } screen_functions_t; +void +ncurses_init(void); int screen_init(mpdclient_t *c); int screen_exit(void); @@ -79,9 +81,30 @@ void screen_cmd(mpdclient_t *c, command_t cmd); gint screen_get_id(const char *name); -gint get_cur_mode_id(); +gint get_cur_mode_id(void); int screen_get_mouse_event(mpdclient_t *c, list_window_t *lw, int lw_length, unsigned long *bstate, int *row); +screen_functions_t * +get_screen_search(void); + +screen_functions_t * +get_screen_browse(void); + +screen_functions_t * +get_screen_playlist(void); + +screen_functions_t * +get_screen_help(void); + +screen_functions_t * +get_screen_lyrics(void); + +screen_functions_t * +get_screen_keydef(void); + +screen_functions_t * +get_screen_clock(void); + #endif |