aboutsummaryrefslogtreecommitdiffstats
path: root/menu/syslinux.c
diff options
context:
space:
mode:
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));
}