Hello!

This patch avoids a bunch of:

enable-execute-stack.c:5:1: warning: no previous prototype for
‘__enable_execute_stack’ [-Wmissing-prototypes]

warnings during gcc bootstrap.

2011-06-22  Uros Bizjak  <ubiz...@gmail.com>

        * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.

Bootstrapped on x86_64-pc-linux-gnu.

OK for mainline/4.6?

Uros.

Index: enable-execute-stack-empty.c
===================================================================
--- enable-execute-stack-empty.c        (revision 175285)
+++ enable-execute-stack-empty.c        (working copy)
@@ -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__)))
 {

Reply via email to