diff options
author | Matt Fleming <matt.fleming@intel.com> | 2012-03-30 13:07:12 +0100 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2012-04-17 10:57:13 +0100 |
commit | bdd7cbd0c05cbd9b362948c8b2430ba414552c25 (patch) | |
tree | c909fe26998f907a4d8841646f831195e9bbf38a | |
parent | d73c19e488121790635c2ede1afc0a217b7e8b29 (diff) | |
download | syslinux-bdd7cbd0c05cbd9b362948c8b2430ba414552c25.tar.gz syslinux-bdd7cbd0c05cbd9b362948c8b2430ba414552c25.tar.xz syslinux-bdd7cbd0c05cbd9b362948c8b2430ba414552c25.zip |
getcwd.c: Include core_getcwd() prototype
Fix the following warning by including the appropriate header,
getcwd.c: In function ‘getcwd’:
getcwd.c:10:5: warning: implicit declaration of function ‘core_getcwd’
getcwd.c:10:5: warning: return makes pointer from integer without a cast
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
-rw-r--r-- | com32/lib/getcwd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/com32/lib/getcwd.c b/com32/lib/getcwd.c index 2939c07c..d5fa9d7d 100644 --- a/com32/lib/getcwd.c +++ b/com32/lib/getcwd.c @@ -4,6 +4,7 @@ #include <com32.h> #include <syslinux/pmapi.h> +#include <fs.h> char *getcwd(char *buf, size_t size) { |