aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/alloca.h2
-rw-r--r--include/string.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/alloca.h b/include/alloca.h
index 49d8879..4c9db33 100644
--- a/include/alloca.h
+++ b/include/alloca.h
@@ -72,7 +72,7 @@ void* alloca(size_t);
* @since Always.
*/
void (needstack)(int);
-# elif defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
+# if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
# define needstack(n) __needstack(n, __FILE__, __LINE__, __func__)
# else
# define needstack(n) __needstack(n, __FILE__, __LINE__, NULL)
diff --git a/include/string.h b/include/string.h
index 8369f30..758ca6e 100644
--- a/include/string.h
+++ b/include/string.h
@@ -293,7 +293,7 @@ void* memcmove(void*, const void*, int, size_t);
*
* @since Always.
*/
-char* strset(char* str, int c);
+char* strset(char* str, int c)
__GCC_ONLY(__attribute__((__returns_nonnull__, __nonnull__)));
#endif