aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/winsup.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2012-07-02 02:24:25 +0000
committerChristopher Faylor <me@cgf.cx>2012-07-02 02:24:25 +0000
commit1809b65e23777b594936915264cc0bcfb78ff622 (patch)
tree8ea4e665f6c9e38ef5ec18fc947a75ad2cfd4b66 /winsup/cygwin/winsup.h
parentc4441d46b60ea0b7476fb1b1c053037010b3ef88 (diff)
downloadnewlib-1809b65e23777b594936915264cc0bcfb78ff622.zip
newlib-1809b65e23777b594936915264cc0bcfb78ff622.tar.gz
newlib-1809b65e23777b594936915264cc0bcfb78ff622.tar.bz2
* Makefile.in: Add some more optimization flags for cygwait, malloc and path. Explain
why -fomit-frame-pointer doesn't work right for passwd.o and path.o. Add -static to link command line for cygwin0.dll. * fhandler_disk_file.cc (fhandler_disk_file::facl): Reorganize slightly to silence compiler warning when compiling with -fstack-check. * net.cc (inet_ntop6): Initialize structure members to silence compiler warning when compiling with -fstack-check. * pseudo-reloc.cc (_pei386_runtime_relocator): Make this a C function. Detect NULL u. * winsup.h (_pei386_runtime_relocator): Declare this as extern "C". * lib/_cygwin_crt0_common.cc (_pei386_runtime_relocator): Call with NULL argument. * signal.cc (sigaction_worker): Eliminate last argument. Let callers report their own strace info. Regparmize. (sigaction): Reflect sigaction_worker changes. (siginterrupt): Ditto. * exceptions.cc: Update copyright.
Diffstat (limited to 'winsup/cygwin/winsup.h')
-rw-r--r--winsup/cygwin/winsup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h
index 5c36609..dff81fc 100644
--- a/winsup/cygwin/winsup.h
+++ b/winsup/cygwin/winsup.h
@@ -162,7 +162,7 @@ void dll_dllcrt0_1 (void *);
/* dynamically loaded dll initialization */
extern "C" int dll_dllcrt0 (HMODULE, per_process *);
-void _pei386_runtime_relocator (per_process *);
+extern "C" void _pei386_runtime_relocator (per_process *);
/* dynamically loaded dll initialization for non-cygwin apps */
extern "C" int dll_noncygwin_dllcrt0 (HMODULE, per_process *);