aboutsummaryrefslogtreecommitdiffstats
path: root/menu/syslinux.c
diff options
context:
space:
mode:
authorhpa <hpa>2004-02-03 05:42:25 +0000
committerhpa <hpa>2004-02-03 05:42:25 +0000
commitdfd8bb83c7fd3f0d8c3b0caf6335d376c55732d1 (patch)
treed0021ca8fe28a76d3e680033997127426953151e /menu/syslinux.c
parent5e4b11cb257f5137062690473ec3fe79a928141b (diff)
downloadsyslinux-elf-dfd8bb83c7fd3f0d8c3b0caf6335d376c55732d1.tar.gz
syslinux-elf-dfd8bb83c7fd3f0d8c3b0caf6335d376c55732d1.tar.xz
syslinux-elf-dfd8bb83c7fd3f0d8c3b0caf6335d376c55732d1.zip
Make it all work better... remove use of DOS routines while expecting
attributes to be unchanged; create a wrapper routine for start.
Diffstat (limited to 'menu/syslinux.c')
-rw-r--r--menu/syslinux.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/menu/syslinux.c b/menu/syslinux.c
index 40b357f7..67a1585e 100644
--- a/menu/syslinux.c
+++ b/menu/syslinux.c
@@ -24,22 +24,22 @@ static inline int asm_issyslinux(void)
(ecx == 0x494e0000) && (edx == 0x55580000);
}
-char issyslinux()
+char issyslinux(void)
{
return asm_issyslinux();
}
-static inline void asm_runcommand(char *cmd)
+static inline void asm_runcommand(const char *cmd)
{
asm volatile("int $0x22" : : "a" (0x0003), "b" (cmd));
}
-void runcommand(char *cmd)
+void runcommand(const char *cmd)
{
asm_runcommand(cmd);
}
-static inline void asm_gototxtmode()
+static inline void asm_gototxtmode(void)
{
asm volatile("int $0x22" : : "a" (0x0005));
}