summaryrefslogtreecommitdiff
path: root/libgcc/enable-execute-stack-empty.c
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2011-06-22 11:20:07 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2011-06-22 11:20:07 +0000
commit5125dcef8074ab7dff7cdded03694345669531bc (patch)
tree3f6fc0ee3fdcb0147a1ceb59c0309256780a13d6 /libgcc/enable-execute-stack-empty.c
parent208e226fabfdbd0e25c0cb2d0483efe8b352e52a (diff)
downloadgcc-5125dcef8074ab7dff7cdded03694345669531bc.tar.gz
* enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175292 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc/enable-execute-stack-empty.c')
-rw-r--r--libgcc/enable-execute-stack-empty.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgcc/enable-execute-stack-empty.c b/libgcc/enable-execute-stack-empty.c
index 81786dec3e4..e2cc02ba116 100644
--- a/libgcc/enable-execute-stack-empty.c
+++ b/libgcc/enable-execute-stack-empty.c
@@ -1,6 +1,9 @@
/* Dummy implementation of __enable_execute_stack. */
+extern void __enable_execute_stack (void *);
+
/* Attempt to turn on execute permission for the stack. */
+
void
__enable_execute_stack (void *addr __attribute__((__unused__)))
{