waddch(win, '\304');
}
-void print_menu(void)
+static void print_menu(void)
{
- int i, j, len;
+ int i, j;
char menu[80];
char *ptr = menu;
mvprintw(23, 0, menu);
}
-void center(int row, const char *str)
+static void center(int row, const char *str)
{
int len = strlen(str);
int j;
mvprintw(row, (SCREEN_X - len) / 2, str);
}
-void header(int row, const char *str)
+/* FIXME: Currently unused. */
+#if 0
+static void header(int row, const char *str)
{
char buf[SCREEN_X];
char *ptr = buf;
mvprintw(row, 0, buf);
}
+#endif
static void redraw_module(void)
{
refresh();
}
-int loop(void)
+static void loop(void)
{
int key;
modules[i]->init();
loop();
+
+ return 0;
}