fix corruption on empty sel_fname
[libpicofe.git] / menu.h
diff --git a/menu.h b/menu.h
index 79b8278..dfeccce 100644 (file)
--- a/menu.h
+++ b/menu.h
@@ -8,6 +8,9 @@
  * See the COPYING file in the top-level directory.
  */
 
+#ifndef LIBPICOFE_MENU_H
+#define LIBPICOFE_MENU_H
+
 typedef enum
 {
        MB_NONE = 1,            /* no auto processing */
@@ -117,16 +120,11 @@ extern int g_menuscreen_w;
 extern int g_menuscreen_h;
 #endif
 
-void menu_init(void);
+void menu_init_base(void);
+void menu_update_msg(const char *msg);
 void text_out16(int x, int y, const char *texto, ...);
-void me_update_msg(const char *msg);
-
-void menu_romload_prepare(const char *rom_name);
-void menu_romload_end(void);
-
-void menu_loop(void);
-int  menu_loop_tray(void);
 
 menu_entry *me_list_get_first(void);
 menu_entry *me_list_get_next(void);
 
+#endif // LIBPICOFE_MENU_H