Remove duplicate prototype of statfs from stdio.h. Belongs in sys/statfs.h only. Note by Michael Hope
This commit is contained in:
parent
9df6bd0543
commit
ca29c652c3
@ -103,7 +103,6 @@ namespace std
|
|||||||
|
|
||||||
// Operations on paths
|
// Operations on paths
|
||||||
|
|
||||||
using ::statfs;
|
|
||||||
using ::tmpnam;
|
using ::tmpnam;
|
||||||
using ::tempnam;
|
using ::tempnam;
|
||||||
}
|
}
|
||||||
|
@ -180,7 +180,6 @@ int vdprintf(int fd, FAR const char *fmt, va_list ap);
|
|||||||
|
|
||||||
/* Operations on paths */
|
/* Operations on paths */
|
||||||
|
|
||||||
int statfs(FAR const char *path, FAR struct statfs *buf);
|
|
||||||
FAR char *tmpnam(FAR char *s);
|
FAR char *tmpnam(FAR char *s);
|
||||||
FAR char *tempnam(FAR const char *dir, FAR const char *pfx);
|
FAR char *tempnam(FAR const char *dir, FAR const char *pfx);
|
||||||
|
|
||||||
|
@ -137,8 +137,8 @@ extern "C"
|
|||||||
* form of the struct statfs.
|
* form of the struct statfs.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int statfs(const char *path, struct statfs *buf);
|
int statfs(FAR const char *path, FAR struct statfs *buf);
|
||||||
int fstatfs(int fd, struct statfs *buf);
|
int fstatfs(int fd, FAR struct statfs *buf);
|
||||||
|
|
||||||
#undef EXTERN
|
#undef EXTERN
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
|
@ -133,8 +133,7 @@
|
|||||||
"sigwaitinfo","signal.h","!defined(CONFIG_DISABLE_SIGNALS)","int","FAR const sigset_t*","FAR struct siginfo*"
|
"sigwaitinfo","signal.h","!defined(CONFIG_DISABLE_SIGNALS)","int","FAR const sigset_t*","FAR struct siginfo*"
|
||||||
"socket","sys/socket.h","CONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET)","int","int","int","int"
|
"socket","sys/socket.h","CONFIG_NSOCKET_DESCRIPTORS > 0 && defined(CONFIG_NET)","int","int","int","int"
|
||||||
"stat","sys/stat.h","CONFIG_NFILE_DESCRIPTORS > 0","int","const char*","FAR struct stat*"
|
"stat","sys/stat.h","CONFIG_NFILE_DESCRIPTORS > 0","int","const char*","FAR struct stat*"
|
||||||
#"statfs","stdio.h","","int","FAR const char*","FAR struct statfs*"
|
"statfs","sys/statfs.h","CONFIG_NFILE_DESCRIPTORS > 0","int","FAR const char*","FAR struct statfs*"
|
||||||
"statfs","sys/statfs.h","CONFIG_NFILE_DESCRIPTORS > 0","int","const char*","struct statfs*"
|
|
||||||
"task_create","sched.h","!defined(CONFIG_BUILD_KERNEL)", "int","FAR const char*","int","int","main_t","FAR char * const []|FAR char * const *"
|
"task_create","sched.h","!defined(CONFIG_BUILD_KERNEL)", "int","FAR const char*","int","int","main_t","FAR char * const []|FAR char * const *"
|
||||||
#"task_create","sched.h","","int","const char*","int","main_t","FAR char * const []|FAR char * const *"
|
#"task_create","sched.h","","int","const char*","int","main_t","FAR char * const []|FAR char * const *"
|
||||||
"task_delete","sched.h","","int","pid_t"
|
"task_delete","sched.h","","int","pid_t"
|
||||||
|
Can't render this file because it has a wrong number of fields in line 2.
|
Loading…
x
Reference in New Issue
Block a user