[patch libgcc2]: Add prototypes for mprotect and getpagesize for mingw

Kai Tietz ktietz70@googlemail.com
Thu Sep 24 18:26:00 GMT 2009


Hello,

this patch fixes warnings about missing prototypes of getpagesize and
mprotect for mingw targets while building libgcc.

2009-09-24  Kai Tietz  <kai.tietz@onevision.com>

	* libgcc2.c (L_trampoline): Prototype for getpagesize
	and mprotect in WINNT case.

Tested for x86_64-pc-mingw and i686-pc-mingw32. Ok for apply to trunk and 4.4?

Cheers,
Kai

-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mingw_warn.diff
Type: application/octet-stream
Size: 432 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090924/4ff402cb/attachment.obj>


More information about the Gcc-patches mailing list