diff options
| author | H. Peter Anvin <hpa@zytor.com> | 2009-07-05 17:23:46 -0700 |
|---|---|---|
| committer | H. Peter Anvin <hpa@zytor.com> | 2009-07-05 17:23:46 -0700 |
| commit | eb04727532a80e6119a8a90282e2c3f7be8a8564 (patch) | |
| tree | c7692e1d0bb427308f5f3ddce259fbdab5a28211 /com32/include/sys | |
| parent | ad45d3005886d051dae17180ef28be3f1b6dbaac (diff) | |
| download | syslinux-eb04727532a80e6119a8a90282e2c3f7be8a8564.tar.gz | |
elflink: fix functions with () instead of (void)
In C++, () is used to indicate a function with no parameters. In C,
this is spelled (void). In C, () means the same thing as (...) which
really isn't what we want.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/include/sys')
| -rw-r--r-- | com32/include/sys/exec.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/com32/include/sys/exec.h b/com32/include/sys/exec.h index 44b1e741..31a1af2e 100644 --- a/com32/include/sys/exec.h +++ b/com32/include/sys/exec.h @@ -37,7 +37,7 @@ * loaded by the lower module layer gets to be executed by the CPU, * thus becoming part of the SYSLINUX environment. */ -extern int exec_init(); +extern int exec_init(void); /** @@ -103,7 +103,7 @@ extern int spawnl(const char *name, const char *arg, ...); /** * exec_term - Releases the resources of the execution environment. */ -extern void exec_term(); +extern void exec_term(void); #endif /* EXEC_H_ */ |
