summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-05-31 11:39:53 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-05-31 11:39:53 -0700
commit4bfb4d160ab01286ae164e9e6fadd16975bad5ce (patch)
treefb8711f3ae3260a12aeb4d113e5c0474e91beea3
parentf1cb2abd2e1583d0c8095b588f076fb15283bcf4 (diff)
downloadsyslinux-4bfb4d160ab01286ae164e9e6fadd16975bad5ce.tar.gz
Remove Linux test compilation
Remove support for Linux test compilation. Use Qemu for testing, instead.
-rw-r--r--com32/modules/menumain.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/com32/modules/menumain.c b/com32/modules/menumain.c
index aafea2bb..203ceec5 100644
--- a/com32/modules/menumain.c
+++ b/com32/modules/menumain.c
@@ -30,9 +30,7 @@
#include <sha1.h>
#include <base64.h>
#include <colortbl.h>
-#ifdef __COM32__
#include <com32.h>
-#endif
#include "menu.h"
@@ -864,7 +862,6 @@ run_menu(void)
static void
execute(const char *cmdline, enum kernel_type type)
{
-#ifdef __COM32__
com32sys_t ireg;
const char *p, **pp;
char *q = __com32.cs_bounce;
@@ -914,11 +911,6 @@ execute(const char *cmdline, enum kernel_type type)
__intcall(0x22, &ireg, NULL);
/* If this returns, something went bad; return to menu */
-#else
- /* For testing... */
- printf("\n\033[0m>>> %s\n", cmdline);
- exit(0);
-#endif
}
int menu_main(int argc, char *argv[])