summaryrefslogtreecommitdiff
path: root/libgcc/enable-execute-stack-empty.c
diff options
context:
space:
mode:
authorUros Bizjak <uros@gcc.gnu.org>2011-06-22 13:20:07 +0200
committerUros Bizjak <uros@gcc.gnu.org>2011-06-22 13:20:07 +0200
commit1da9434b4ba81839aa43dfb53344a6dbfb0e314f (patch)
tree3f6fc0ee3fdcb0147a1ceb59c0309256780a13d6 /libgcc/enable-execute-stack-empty.c
parent070387a43cbe003423a38d77c618a8bf681cd4fd (diff)
downloadgcc-1da9434b4ba81839aa43dfb53344a6dbfb0e314f.tar.gz
enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
* enable-execute-stack-empty.c (__enable_execute_stack): Add prototype. From-SVN: r175292
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__)))
{