summaryrefslogtreecommitdiff
path: root/core/include
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-04-02 15:51:45 +0100
committerMatt Fleming <matt.fleming@intel.com>2012-04-17 10:58:34 +0100
commita523208a0d1bb820d82c5b00125876476453afd1 (patch)
tree76383ae526293fc49a209c0ec8e7fcfbda2b1224 /core/include
parent1149eb499e93e7723ef32362dfa867aff8ab0c23 (diff)
downloadsyslinux-a523208a0d1bb820d82c5b00125876476453afd1.tar.gz
ldlinux: Fix number of arguments to start_ldlinux()
Commit 3a316db1 ("ldlinux: Loading a config file should cause re-initialisation") added a call to start_ldlinux() with an incorrect number of arguments. Add the prototype to core.h so this error doesn't go unnoticed again. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'core/include')
-rw-r--r--core/include/core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/include/core.h b/core/include/core.h
index d2aaf72d..c1b26714 100644
--- a/core/include/core.h
+++ b/core/include/core.h
@@ -99,4 +99,6 @@ static inline void set_flags(com32sys_t *regs, uint32_t flags)
regs->eflags.l = eflags;
}
+extern int start_ldlinux(char **argv);
+
#endif /* CORE_H */