aboutsummaryrefslogtreecommitdiffstats
path: root/com32/elflink/ldlinux/config.h
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-04-02 12:35:33 +0100
committerMatt Fleming <matt.fleming@intel.com>2012-04-17 10:58:33 +0100
commit9b8f95e34a6ad6ab5fe1f4cf3f39347925e4c843 (patch)
treed1b6250c0a2a8be6ab1db6e9fcdcaed7cbb7afd2 /com32/elflink/ldlinux/config.h
parentca5a008e119fd83866bface7037ae46ceb326980 (diff)
downloadsyslinux-9b8f95e34a6ad6ab5fe1f4cf3f39347925e4c843.tar.gz
syslinux-9b8f95e34a6ad6ab5fe1f4cf3f39347925e4c843.tar.xz
syslinux-9b8f95e34a6ad6ab5fe1f4cf3f39347925e4c843.zip
ldlinux: Include headers for function prototypes
Include the appropriate headers to fix up the following build warnings, ldlinux.c: In function ‘parse_kernel_type’: ldlinux.c:27:2: warning: implicit declaration of function ‘strncmp’ ldlinux.c: In function ‘load_kernel’: ldlinux.c:64:2: warning: implicit declaration of function ‘find_label’ ldlinux.c:64:5: warning: assignment makes pointer from integer without a cast Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'com32/elflink/ldlinux/config.h')
-rw-r--r--com32/elflink/ldlinux/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/com32/elflink/ldlinux/config.h b/com32/elflink/ldlinux/config.h
index c34b2cc6..f616a8d6 100644
--- a/com32/elflink/ldlinux/config.h
+++ b/com32/elflink/ldlinux/config.h
@@ -37,6 +37,7 @@ extern const char *default_cmd; //"default" command line
extern const char *onerror; //"onerror" command line
extern void cat_help_file(int key);
+extern struct menu_entry *find_label(const char *str);
extern void eprintf(const char *filename, ...);