aboutsummaryrefslogtreecommitdiffstats
path: root/menu/simple.c
diff options
context:
space:
mode:
authorhpa <hpa>2004-02-03 18:36:06 +0000
committerhpa <hpa>2004-02-03 18:36:06 +0000
commit5c767a05385856621b284e02c7d921801bc42bdf (patch)
tree1b19f06f7fd744c58f44a3136d49d7fba91f0a76 /menu/simple.c
parent8748e73a7428094d60f72bfb3cfe05e299854bae (diff)
downloadsyslinux-elf-5c767a05385856621b284e02c7d921801bc42bdf.tar.gz
syslinux-elf-5c767a05385856621b284e02c7d921801bc42bdf.tar.xz
syslinux-elf-5c767a05385856621b284e02c7d921801bc42bdf.zip
Make the command line available to the programsyslinux-2.09-pre7
Diffstat (limited to 'menu/simple.c')
-rw-r--r--menu/simple.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/menu/simple.c b/menu/simple.c
index 7870a94e..2d26af86 100644
--- a/menu/simple.c
+++ b/menu/simple.c
@@ -19,12 +19,13 @@
#include "string.h"
#include "syslinux.h"
-char TESTING,RESCUE,MAIN,PREP;
-
-int menumain(void)
+int menumain(char *cmdline)
{
t_menuitem * curr;
+ char TESTING,RESCUE,MAIN; /* The menus we're going to declare */
+ (void)cmdline; /* Not used */
+
// Choose the default title and setup default values for all attributes....
init_menusystem(NULL);