Remove duplicate prototype of statfs from stdio.h. Belongs in sys/statfs.h only. Note by Michael Hope

This commit is contained in:
Gregory Nutt
2015-05-12 07:00:11 -06:00
parent 9df6bd0543
commit ca29c652c3
4 changed files with 3 additions and 6 deletions
-1
View File
@@ -103,7 +103,6 @@ namespace std
// Operations on paths
using ::statfs;
using ::tmpnam;
using ::tempnam;
}
-1
View File
@@ -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);
+2 -2
View File
@@ -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)