aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gfxboot
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-01-06 21:26:44 -0800
committerH. Peter Anvin <hpa@zytor.com>2010-01-06 21:26:44 -0800
commitb2c00eb47e4af30b1822af3f66744bfde755c87f (patch)
treed138935c1c001d6a7109a724fa0202bc19a9bc9d /com32/gfxboot
parent85c9fa1a8144edc6264bef88f5a283a4073988b9 (diff)
downloadsyslinux-b2c00eb47e4af30b1822af3f66744bfde755c87f.tar.gz
syslinux-b2c00eb47e4af30b1822af3f66744bfde755c87f.tar.xz
syslinux-b2c00eb47e4af30b1822af3f66744bfde755c87f.zip
Change () prototypes to (void)
() means the same as (...) in C, not the same as (void) as it does in C++. It is generally misused to mean (void), though. Actually write what we mean... this is C, after all. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/gfxboot')
-rw-r--r--com32/gfxboot/gfxboot.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/com32/gfxboot/gfxboot.c b/com32/gfxboot/gfxboot.c
index 3937e305..bfdd8cce 100644
--- a/com32/gfxboot/gfxboot.c
+++ b/com32/gfxboot/gfxboot.c
@@ -573,7 +573,7 @@ int gfx_init(char *file)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-int gfx_menu_init()
+int gfx_menu_init(void)
{
com32sys_t r;
@@ -585,7 +585,7 @@ int gfx_menu_init()
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-void gfx_done()
+void gfx_done(void)
{
com32sys_t r;
@@ -599,7 +599,7 @@ void gfx_done()
// return:
// boot menu index (-1: go to text mode prompt)
//
-int gfx_input()
+int gfx_input(void)
{
com32sys_t r;
@@ -688,7 +688,7 @@ void *load_one(char *file, ssize_t *file_size)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Locate menu entry and boot.
//
-void boot()
+void boot(void)
{
char *label, *arg, *s;
menu_t *menu_ptr;