Index: libiberty/stack-limit.c |
diff --git a/libiberty/stack-limit.c b/libiberty/stack-limit.c |
index e64cac28d1df23c5285cc579610ee5b089f54d8c..82c3d44498eeeee66f45b0dc3ac39dd1bf3b72b7 100644 |
--- a/libiberty/stack-limit.c |
+++ b/libiberty/stack-limit.c |
@@ -34,6 +34,7 @@ Attempt to increase stack size limit to @var{pref} bytes if possible. |
*/ |
#include "config.h" |
+#include "ansidecl.h" |
#ifdef HAVE_STDINT_H |
#include <stdint.h> |
@@ -43,7 +44,7 @@ Attempt to increase stack size limit to @var{pref} bytes if possible. |
#endif |
void |
-stack_limit_increase (unsigned long pref) |
+stack_limit_increase (unsigned long pref ATTRIBUTE_UNUSED) |
{ |
#if defined(HAVE_SETRLIMIT) && defined(HAVE_GETRLIMIT) \ |
&& defined(RLIMIT_STACK) && defined(RLIM_INFINITY) |