forked from Imagelibrary/rtems
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:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user