diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-16 09:07:42 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-16 09:07:42 +0200 |
commit | e0ea1b36bd01a84f291994328004b7e331009eea (patch) | |
tree | 5930d77d245708527f36b924039b5e6be6ea1aff /nuttx/include/stdio.h | |
parent | a4f63a6cf75b35556a6722ed7b6fd6ea6059495d (diff) | |
download | nuttx-e0ea1b36bd01a84f291994328004b7e331009eea.tar.gz nuttx-e0ea1b36bd01a84f291994328004b7e331009eea.tar.bz2 nuttx-e0ea1b36bd01a84f291994328004b7e331009eea.zip |
Disable -Wshadow warnings for system headers - alternatively we could use #pragma GCC system_header in those
Diffstat (limited to 'nuttx/include/stdio.h')
-rw-r--r-- | nuttx/include/stdio.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nuttx/include/stdio.h b/nuttx/include/stdio.h index eb977d38d..894666964 100644 --- a/nuttx/include/stdio.h +++ b/nuttx/include/stdio.h @@ -157,7 +157,10 @@ int vdprintf(int fd, FAR const char *fmt, va_list ap); /* Operations on paths */ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wshadow" int statfs(FAR const char *path, FAR struct statfs *buf); +#pragma GCC diagnostic pop #undef EXTERN #if defined(__cplusplus) |