summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/dcrt0.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-08-11 16:30:48 +0000
committerChristopher Faylor <me@cgf.cx>2005-08-11 16:30:48 +0000
commitb21413b3042eb28cc4ac7e182426e1548eea62a5 (patch)
treea6f57fed095b6b90419c316b69106632d2132edd /winsup/cygwin/dcrt0.cc
parentff7bdd11f5006425b408e4c9f324db85cda6c1d7 (diff)
downloadcygnal-b21413b3042eb28cc4ac7e182426e1548eea62a5.tar.gz
cygnal-b21413b3042eb28cc4ac7e182426e1548eea62a5.tar.bz2
cygnal-b21413b3042eb28cc4ac7e182426e1548eea62a5.zip
* dcrt0.cc: Remove ld_preload declaration.
* winsup.h: Move ld_preload declaration here. * fork.cc (fork_child): Call ld_preload() before returning.
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r--winsup/cygwin/dcrt0.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index 7cc3ea968..e25e844c4 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -43,8 +43,6 @@ details. */
extern "C" void cygwin_exit (int) __attribute__ ((noreturn));
-void ld_preload ();
-
HANDLE NO_COPY hMainProc = (HANDLE) -1;
HANDLE NO_COPY hMainThread;
HANDLE NO_COPY hProcToken;