diff options
| author | Mattias Andrée <maandree@member.fsf.org> | 2015-12-27 20:43:19 +0100 |
|---|---|---|
| committer | Mattias Andrée <maandree@member.fsf.org> | 2015-12-27 20:43:19 +0100 |
| commit | f2c5ac590d442a32e2d5cd77af776a05b977b949 (patch) | |
| tree | 0dc1859835688927e127920e2ca3f89ff9012a28 /include/alloca.h | |
| parent | fix errors (diff) | |
| download | slibc-f2c5ac590d442a32e2d5cd77af776a05b977b949.tar.gz slibc-f2c5ac590d442a32e2d5cd77af776a05b977b949.tar.bz2 slibc-f2c5ac590d442a32e2d5cd77af776a05b977b949.tar.xz | |
fix errors and warnings
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
| -rw-r--r-- | include/alloca.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/alloca.h b/include/alloca.h index 4c9db33..ff2f8c8 100644 --- a/include/alloca.h +++ b/include/alloca.h @@ -46,7 +46,7 @@ * * @since Always. */ -void* alloca(size_t); +void* alloca(size_t) __GCC_ONLY(__attribute__((__warn_unused_result__))); #if defined(__GNUC__) # define alloca(size) __builtin_alloca(size) @@ -94,7 +94,7 @@ void (needstack)(int); * @param func The function in the source code whence the check was made, * `NULL` if unknown (C99 is required.) */ -void __needstack(int, const char*, int, const char*) +void __needstack(int, const char*, int, const char*); |
