aboutsummaryrefslogtreecommitdiff
path: root/libiberty/stack-limit.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2012-04-02 18:50:29 +0000
committerDJ Delorie <dj@redhat.com>2012-04-02 18:50:29 +0000
commit24e829d00750e3689217fcb1d1084c8c21e6352f (patch)
tree2ffb91e692241e7b793995a60d07b94ef5f0d283 /libiberty/stack-limit.c
parentcf9bb588b31c141fce2c153df81d26fbd5c271d1 (diff)
downloadgdb-24e829d00750e3689217fcb1d1084c8c21e6352f.zip
gdb-24e829d00750e3689217fcb1d1084c8c21e6352f.tar.gz
gdb-24e829d00750e3689217fcb1d1084c8c21e6352f.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/stack-limit.c')
-rw-r--r--libiberty/stack-limit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libiberty/stack-limit.c b/libiberty/stack-limit.c
index e64cac2..82c3d44 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)