diff libmenu/menu_param.c @ 10864:a2537e7d2d76

make menu work on mingw (run command is still disabled), based on patch by Christophe Perinaud
author faust3
date Sat, 13 Sep 2003 18:02:20 +0000
parents edfe34c5405d
children 931bdbc37ee0
line wrap: on
line diff
--- a/libmenu/menu_param.c	Sat Sep 13 15:22:06 2003 +0000
+++ b/libmenu/menu_param.c	Sat Sep 13 18:02:20 2003 +0000
@@ -103,19 +103,19 @@
   free(entry);
 }
 
-static void close(menu_t* menu) {
+static void closeMenu(menu_t* menu) {
   menu_list_uninit(menu,free_entry);
   if(mpriv->edit)
     free(mpriv->edit);
 }
 
-static int open(menu_t* menu, char* args) {
+static int openMenu(menu_t* menu, char* args) {
   list_entry_t* e;
 
   menu->draw = menu_list_draw;
   menu->read_cmd = menu_list_read_cmd;
   menu->read_key = read_key;
-  menu->close = close;
+  menu->close = closeMenu;
 
 
   if(!args) {
@@ -155,5 +155,5 @@
     &cfg_dflt,
     cfg_fields
   },
-  open
+  openMenu
 };