aboutsummaryrefslogtreecommitdiffstats
path: root/com32/elflink/ldlinux/config.h
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-04-02 17:07:59 +0100
committerMatt Fleming <matt.fleming@intel.com>2012-04-17 10:58:34 +0100
commit5dd53846001c7cd483ed32207f53a54977f9a11f (patch)
treeb85971cb1ac80216f2ca0679772be593c140f3a9 /com32/elflink/ldlinux/config.h
parenta523208a0d1bb820d82c5b00125876476453afd1 (diff)
downloadsyslinux-5dd53846001c7cd483ed32207f53a54977f9a11f.tar.gz
syslinux-5dd53846001c7cd483ed32207f53a54977f9a11f.tar.xz
syslinux-5dd53846001c7cd483ed32207f53a54977f9a11f.zip
ldlinux: Add prototype for new_linux_kernel()
Make sure we're passing the correct arguments to new_linux_kernel() by defining a prototype. This also fixes the following warning, execute.c:108:3: warning: implicit declaration of function ‘new_linux_kernel’ Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'com32/elflink/ldlinux/config.h')
-rw-r--r--com32/elflink/ldlinux/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/com32/elflink/ldlinux/config.h b/com32/elflink/ldlinux/config.h
index 1e78c2cd..cab4c70b 100644
--- a/com32/elflink/ldlinux/config.h
+++ b/com32/elflink/ldlinux/config.h
@@ -42,4 +42,6 @@ extern void print_labels(const char *prefix, size_t len);
extern void eprintf(const char *filename, ...);
+extern int new_linux_kernel(char *okernel, char *ocmdline);
+
#endif /* __CONFIG_H__ */