From: Danny Smith Date: Tue, 15 Apr 2008 19:44:16 +0000 (+0000) Subject: libgcc2.c [L_trampoline]: Remove unnecessary prototype for X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d98c89de9bb0530cb4aeb91771d88b82bce5dba1;p=gcc.git libgcc2.c [L_trampoline]: Remove unnecessary prototype for Windows VirtualProtect function. From-SVN: r134330 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 903ae6dd57e..eae2c9edf72 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2008-04-15 Danny Smith + * libgcc2.c [L_trampoline]: Remove unnecessary prototype for + MS Windows VirtualProtect function. + 2008-04-15 Jan Hubicka * gengtype.c (write_root): Param_is argument is OK. diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c index ec1f81008bd..f8e442d8537 100644 --- a/gcc/libgcc2.c +++ b/gcc/libgcc2.c @@ -2058,10 +2058,6 @@ getpagesize (void) #endif } -#ifdef __i386__ -extern int VirtualProtect (char *, int, int, int *) __attribute__((stdcall)); -#endif - int mprotect (char *addr, int len, int prot) {