summaryrefslogtreecommitdiff
path: root/nuttx/include/stdio.h
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-05-16 09:07:42 +0200
committerLorenz Meier <lm@inf.ethz.ch>2014-05-16 09:07:42 +0200
commite0ea1b36bd01a84f291994328004b7e331009eea (patch)
tree5930d77d245708527f36b924039b5e6be6ea1aff /nuttx/include/stdio.h
parenta4f63a6cf75b35556a6722ed7b6fd6ea6059495d (diff)
downloadnuttx-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.h3
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)