aboutsummaryrefslogtreecommitdiff
path: root/libiberty/stack-limit.c
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2012-04-02 07:51:26 +0000
committerTristan Gingold <gingold@gcc.gnu.org>2012-04-02 07:51:26 +0000
commit63e1e57a9a137cdf607d4cdd466942848908d4df (patch)
tree6dd1619f89531cc3b017db3cbd4a16479cee680e /libiberty/stack-limit.c
parentf38a14ca9008cfe8a4913c8430ba2e13ee20bc2a (diff)
downloadgcc-63e1e57a9a137cdf607d4cdd466942848908d4df.zip
gcc-63e1e57a9a137cdf607d4cdd466942848908d4df.tar.gz
gcc-63e1e57a9a137cdf607d4cdd466942848908d4df.tar.bz2
stack-limit.c: Includes ansidecl.h.
2012-04-02 Tristan Gingold <gingold@adacore.com> * stack-limit.c: Includes ansidecl.h. (stack_limit_increase): Add ATTRIBUTE_UNUSED From-SVN: r186064
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)