Code

fix function prototypes
[ncmpc.git] / src / screen.c
index af3417a3ed104e8079fc732e656b21c84302a489..4624974c1ad6e157db1fe58189119b32b8ae6b4d 100644 (file)
@@ -126,7 +126,7 @@ lookup_mode(gint id)
        return -1;
 }
 
-gint get_cur_mode_id()
+gint get_cur_mode_id(void)
 {
        return screens[screen->mode].id;
 }
@@ -525,7 +525,7 @@ screen_status_printf(const char *format, ...)
 }
 
 void
-ncurses_init()
+ncurses_init(void)
 {
 
        /* initialize the curses library */
@@ -623,6 +623,7 @@ ncurses_init()
                }
 }
 
+int
 screen_init(mpdclient_t *c)
 {
        gint i;