aboutsummaryrefslogtreecommitdiffstats
path: root/include/alloca.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/alloca.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/alloca.h b/include/alloca.h
index a660f1e..d54d18d 100644
--- a/include/alloca.h
+++ b/include/alloca.h
@@ -47,6 +47,7 @@
* @since Always.
*/
void* alloca(size_t);
+ __GCC_ONLY(__attribute__((__warn_unused_result__)));
#if defined(__GNUC__)
# define alloca(size) __builtin_alloca(size)
#endif