summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/dcrt0.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-07-01 04:26:45 +0000
committerChristopher Faylor <me@cgf.cx>2000-07-01 04:26:45 +0000
commit72f8054fad05e3dce132498f37d04391bdc63e51 (patch)
tree0cba5b9bce101b6d2b58f7977eb6bcfde7a48ac4 /winsup/cygwin/dcrt0.cc
parent8c6b7d8a1599235f05f06a4119ae95321a0de10f (diff)
downloadcygnal-72f8054fad05e3dce132498f37d04391bdc63e51.tar.gz
cygnal-72f8054fad05e3dce132498f37d04391bdc63e51.tar.bz2
cygnal-72f8054fad05e3dce132498f37d04391bdc63e51.zip
* dcrt0.cc (_dll_crt0): Renamed from dll_crt0 ().
* winsup.h: Accomodate above change. * cygwin.din: Ditto. * lib/cygwin_crt0.c: Ditto.
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r--winsup/cygwin/dcrt0.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index 6cfc60820..ceec8db57 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -780,8 +780,8 @@ dll_crt0_1 ()
UPTR is a pointer to global data that lives on the libc side of the
line [if one distinguishes the application from the dll]. */
-void __stdcall
-dll_crt0 ()
+extern "C" void __stdcall
+_dll_crt0 ()
{
char zeros[sizeof (ciresrv->zero)] = {0};
@@ -864,7 +864,7 @@ dll_crt0 (per_process *uptr)
/* Set the local copy of the pointer into the user space. */
if (uptr)
*user_data = *uptr;
- dll_crt0 ();
+ _dll_crt0 ();
}
extern "C" void *export_malloc (unsigned int);