ldlinux: Add print_labels() prototype to config.h
authorMatt Fleming <matt.fleming@intel.com>
Mon, 2 Apr 2012 13:07:33 +0000 (14:07 +0100)
committerMatt Fleming <matt.fleming@intel.com>
Tue, 17 Apr 2012 09:58:34 +0000 (10:58 +0100)
... to fix the following build warning,

cli.c: In function ‘edit_cmdline’:
cli.c:411:3: warning: implicit declaration of function ‘print_labels’

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
com32/elflink/ldlinux/config.h

index f616a8d..1e78c2c 100644 (file)
@@ -38,6 +38,7 @@ 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 print_labels(const char *prefix, size_t len);
 
 extern void eprintf(const char *filename, ...);