diff options
author | Matt Fleming <matt.fleming@intel.com> | 2012-03-30 13:22:40 +0100 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2012-04-17 10:58:32 +0100 |
commit | b386b10fdd483f0a7881e380d3ff7e233a09c424 (patch) | |
tree | 82a130d65efc1b27e75f0cca4cc681958eb044ef | |
parent | cc6974e038600bd51571c31c3d70cf18549e00e1 (diff) | |
download | syslinux-b386b10fdd483f0a7881e380d3ff7e233a09c424.tar.gz syslinux-b386b10fdd483f0a7881e380d3ff7e233a09c424.tar.xz syslinux-b386b10fdd483f0a7881e380d3ff7e233a09c424.zip |
sys/fileclose.c: Fix build warning from missing prototype
Include fs.h to avoid the following warning,
sys/fileclose.c: In function ‘__file_close’:
sys/fileclose.c:42:2: warning: implicit declaration of function ‘close_file’
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
-rw-r--r-- | com32/lib/sys/fileclose.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/com32/lib/sys/fileclose.c b/com32/lib/sys/fileclose.c index 26e15082..699dbe32 100644 --- a/com32/lib/sys/fileclose.c +++ b/com32/lib/sys/fileclose.c @@ -34,6 +34,7 @@ #include <errno.h> #include <com32.h> #include <string.h> +#include <fs.h> #include "file.h" int __file_close(struct file_info *fp) |