[syslinux:elflink] elflink: Add draw_message_file() prototype

syslinux-bot for Matt Fleming matt.fleming at linux.intel.com
Fri Mar 18 11:30:56 PDT 2011


Commit-ID:  01e18539659c0e09d9cedf842ab35f4788ce916e
Gitweb:     http://syslinux.zytor.com/commit/01e18539659c0e09d9cedf842ab35f4788ce916e
Author:     Matt Fleming <matt.fleming at linux.intel.com>
AuthorDate: Wed, 16 Mar 2011 14:34:53 +0000
Committer:  Matt Fleming <matt.fleming at linux.intel.com>
CommitDate: Wed, 16 Mar 2011 14:40:58 +0000

elflink: Add draw_message_file() prototype

To fix the following warning,

menumain.c: In function ‘show_message_file’:
menumain.c:196:5: warning: implicit declaration of function ‘draw_message_file’

Signed-off-by: Matt Fleming <matt.fleming at linux.intel.com>


---
 com32/elflink/modules/menu.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/com32/elflink/modules/menu.h b/com32/elflink/modules/menu.h
index c7d7079..90b54a5 100644
--- a/com32/elflink/modules/menu.h
+++ b/com32/elflink/modules/menu.h
@@ -208,4 +208,7 @@ void execute(const char *cmdline, enum kernel_type type);
 /* drain.c */
 void drain_keyboard(void);
 
+/* printmsg.c */
+int draw_message_file(const char *filename);
+
 #endif /* MENU_H */



More information about the Syslinux-commits mailing list