aboutsummaryrefslogtreecommitdiffstats
path: root/com32/elflink/modules/mytest.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/elflink/modules/mytest.c')
-rw-r--r--com32/elflink/modules/mytest.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/com32/elflink/modules/mytest.c b/com32/elflink/modules/mytest.c
new file mode 100644
index 00000000..ddc8a0ef
--- /dev/null
+++ b/com32/elflink/modules/mytest.c
@@ -0,0 +1,29 @@
+#include <stdio.h>
+#include <stdbool.h>
+#include <stdlib.h>
+#include <string.h>
+#include <minmax.h>
+#include <console.h>
+#include <consoles.h>
+#include <alloca.h>
+#include <inttypes.h>
+#include <colortbl.h>
+#include <getkey.h>
+#include <setjmp.h>
+#include <limits.h>
+#include <com32.h>
+#include <syslinux/adv.h>
+#include <syslinux/config.h>
+#include <sys/module.h>
+
+#include "menu.h"
+
+static int mytest_main(int argc, char **argv)
+{
+ console_ansi_raw();
+ //edit_cmdline("",1);
+ menu_main(argc, argv);
+ return 0;
+}
+
+MODULE_MAIN(mytest_main);