From d98c89de9bb0530cb4aeb91771d88b82bce5dba1 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Tue, 15 Apr 2008 19:44:16 +0000 Subject: [PATCH] libgcc2.c [L_trampoline]: Remove unnecessary prototype for Windows VirtualProtect function. From-SVN: r134330 --- gcc/ChangeLog | 4 ++++ gcc/libgcc2.c | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) 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) { -- 2.30.2