[syslinux:elflink] core: Add open_config() prototype

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


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

core: Add open_config() prototype

... to fix the following warning,

readconfig.c: In function ‘parse_one_config’:
readconfig.c:1339:3: warning: implicit declaration of function ‘open_config’

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

---
 core/include/fs.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/core/include/fs.h b/core/include/fs.h
index 93eb818..59ec503 100644
--- a/core/include/fs.h
+++ b/core/include/fs.h
@@ -193,6 +193,7 @@ int open_file(const char *name, struct com32_filedata *filedata);
 void pm_open_file(com32sys_t *);
 void close_file(uint16_t handle);
 void pm_close_file(com32sys_t *);
+int open_config(void);
 
 /* chdir.c */
 void pm_realpath(com32sys_t *regs);


More information about the Syslinux-commits mailing list