2011-02-24 Ralf Corsépius <ralf.corsepius@rtems.org>

* libcsupport/include/sys/statvfs.h: Remove include <sys/cdefs.h>
	(unused). Add C++ guards. Declare functions extern.
This commit is contained in:
Ralf Corsepius
2011-02-24 15:48:06 +00:00
parent 7c82776ff5
commit e530f72f73
2 changed files with 15 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
2011-02-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/sys/statvfs.h: Remove include <sys/cdefs.h>
(unused). Add C++ guards. Declare functions extern.
2011-02-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/include/rtems/posix/mqueue.h,

View File

@@ -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