mirror of
https://github.com/apache/nuttx.git
synced 2026-09-22 22:55:02 +08:00
Remove duplicate prototype of statfs from stdio.h. Belongs in sys/statfs.h only. Note by Michael Hope
This commit is contained in:
@@ -103,7 +103,6 @@ namespace std
|
||||
|
||||
// Operations on paths
|
||||
|
||||
using ::statfs;
|
||||
using ::tmpnam;
|
||||
using ::tempnam;
|
||||
}
|
||||
|
||||
@@ -180,7 +180,6 @@ int vdprintf(int fd, FAR const char *fmt, va_list ap);
|
||||
|
||||
/* Operations on paths */
|
||||
|
||||
int statfs(FAR const char *path, FAR struct statfs *buf);
|
||||
FAR char *tmpnam(FAR char *s);
|
||||
FAR char *tempnam(FAR const char *dir, FAR const char *pfx);
|
||||
|
||||
|
||||
@@ -137,8 +137,8 @@ extern "C"
|
||||
* form of the struct statfs.
|
||||
*/
|
||||
|
||||
int statfs(const char *path, struct statfs *buf);
|
||||
int fstatfs(int fd, struct statfs *buf);
|
||||
int statfs(FAR const char *path, FAR struct statfs *buf);
|
||||
int fstatfs(int fd, FAR struct statfs *buf);
|
||||
|
||||
#undef EXTERN
|
||||
#if defined(__cplusplus)
|
||||
|
||||
Reference in New Issue
Block a user