[syslinux:elflink] ldlinux: Add print_labels() prototype to config .h

syslinux-bot for Matt Fleming matt.fleming at intel.com
Tue Apr 17 11:24:13 PDT 2012

Commit-ID:  7d6eaf26373c5eb38c8057987a504ff902096382
Gitweb:     http://www.syslinux.org/commit/7d6eaf26373c5eb38c8057987a504ff902096382
Author:     Matt Fleming <matt.fleming at intel.com>
AuthorDate: Mon, 2 Apr 2012 14:07:33 +0100
Committer:  Matt Fleming <matt.fleming at intel.com>
CommitDate: Tue, 17 Apr 2012 10:58:34 +0100

ldlinux: Add print_labels() prototype to config.h

... 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 at intel.com>

 com32/elflink/ldlinux/config.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/com32/elflink/ldlinux/config.h b/com32/elflink/ldlinux/config.h
index f616a8d..1e78c2c 100644
--- a/com32/elflink/ldlinux/config.h
+++ b/com32/elflink/ldlinux/config.h
@@ -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, ...);

More information about the Syslinux-commits mailing list