diff options
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r-- | cpukit/libcsupport/include/sys/statvfs.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/cpukit/libcsupport/include/sys/statvfs.h b/cpukit/libcsupport/include/sys/statvfs.h index 1ef210a702..1029eb3c6b 100644 --- a/cpukit/libcsupport/include/sys/statvfs.h +++ b/cpukit/libcsupport/include/sys/statvfs.h @@ -15,9 +15,12 @@ #ifndef _SYS_STATVFS_H_ #define _SYS_STATVFS_H_ -#include <sys/cdefs.h> #include <stdint.h> +#ifdef __cplusplus +extern "C" { +#endif + typedef uint64_t fsblkcnt_t; typedef uint32_t fsfilcnt_t; @@ -39,7 +42,11 @@ struct statvfs unsigned long f_namemax; /**< Maximum filename length. */ }; -int statvfs(const char *, struct statvfs *); -int fstatvfs(int, struct statvfs *); +extern int statvfs(const char *, struct statvfs *); +extern int fstatvfs(int, struct statvfs *); + +#ifdef __cplusplus +} +#endif #endif |