mirror of git://gcc.gnu.org/git/gcc.git
libgcc2.c [L_trampoline]: Remove unnecessary prototype for
Windows VirtualProtect function. From-SVN: r134330
This commit is contained in:
parent
05e6ff8009
commit
d98c89de9b
|
|
@ -1,3 +1,7 @@
|
||||||
|
2008-04-15 Danny Smith <dannysmith@users.sourceforge.net>
|
||||||
|
* libgcc2.c [L_trampoline]: Remove unnecessary prototype for
|
||||||
|
MS Windows VirtualProtect function.
|
||||||
|
|
||||||
2008-04-15 Jan Hubicka <jh@suse.cz>
|
2008-04-15 Jan Hubicka <jh@suse.cz>
|
||||||
|
|
||||||
* gengtype.c (write_root): Param_is argument is OK.
|
* gengtype.c (write_root): Param_is argument is OK.
|
||||||
|
|
|
||||||
|
|
@ -2058,10 +2058,6 @@ getpagesize (void)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __i386__
|
|
||||||
extern int VirtualProtect (char *, int, int, int *) __attribute__((stdcall));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int
|
int
|
||||||
mprotect (char *addr, int len, int prot)
|
mprotect (char *addr, int len, int prot)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue