diff options
author | Max Kellermann <max@duempel.org> | 2008-09-17 12:05:02 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-17 12:05:02 +0200 |
commit | 51cb2863dd7def8505ba37bdbcb8221416c26f55 (patch) | |
tree | 3672d81258baf9ecbb06398cd30c9e84128eff4c /src/screen.h | |
parent | b126dbbfecd92850528b37b7f580e48601023748 (diff) | |
download | mpd-51cb2863dd7def8505ba37bdbcb8221416c26f55.tar.gz mpd-51cb2863dd7def8505ba37bdbcb8221416c26f55.tar.xz mpd-51cb2863dd7def8505ba37bdbcb8221416c26f55.zip |
replaced get_screen_X() with static screen_functions variable
Compile time initialization saves resources, compared to run-time
initialization. Declare all screen_function structs as global
variables, and remove all get functions.
Diffstat (limited to 'src/screen.h')
-rw-r--r-- | src/screen.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/screen.h b/src/screen.h index 06ce71da3..7aa72d7d2 100644 --- a/src/screen.h +++ b/src/screen.h @@ -92,25 +92,4 @@ int screen_get_mouse_event(mpdclient_t *c, struct list_window *lw, int lw_length, unsigned long *bstate, int *row); -struct screen_functions * -get_screen_search(void); - -struct screen_functions * -get_screen_browse(void); - -struct screen_functions * -get_screen_playlist(void); - -struct screen_functions * -get_screen_help(void); - -struct screen_functions * -get_screen_lyrics(void); - -struct screen_functions * -get_screen_keydef(void); - -struct screen_functions * -get_screen_clock(void); - #endif |