diff options
author | Elliott Hughes <enh@google.com> | 2013-07-09 13:25:03 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2013-07-09 13:25:03 -0700 |
commit | 06040fd75c1edff9e5ffb2b3d3e2a6e66d57c11d (patch) | |
tree | 26c883a0e074a206e7063d111861a177d91959e1 /libc/include/sys/cdefs.h | |
parent | 4fc8a0c1165537b693c900ac3e2c61470bd7e484 (diff) | |
download | android_bionic-06040fd75c1edff9e5ffb2b3d3e2a6e66d57c11d.tar.gz android_bionic-06040fd75c1edff9e5ffb2b3d3e2a6e66d57c11d.tar.bz2 android_bionic-06040fd75c1edff9e5ffb2b3d3e2a6e66d57c11d.zip |
Add <sys/statvfs.h>.
Bug: 2512019
Change-Id: I6e7fd3fa281977cc4bc270481a95416b5b2dc351
Diffstat (limited to 'libc/include/sys/cdefs.h')
-rw-r--r-- | libc/include/sys/cdefs.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libc/include/sys/cdefs.h b/libc/include/sys/cdefs.h index c7fb9de25..a4c1afff1 100644 --- a/libc/include/sys/cdefs.h +++ b/libc/include/sys/cdefs.h @@ -211,8 +211,10 @@ #define __statement(x) (x) #endif -#define __printflike(x, y) __attribute__((__format__(printf, x, y))) __attribute__((__nonnull__(x))) -#define __scanflike(x, y) __attribute__((__format__(scanf, x, y))) __attribute__((__nonnull__(x))) +#define __nonnull(args) __attribute__((__nonnull__ args)) + +#define __printflike(x, y) __attribute__((__format__(printf, x, y))) __nonnull((x)) +#define __scanflike(x, y) __attribute__((__format__(scanf, x, y))) __nonnull((x)) /* * C99 defines the restrict type qualifier keyword, which was made available |