* dcrt0.cc: Remove ld_preload declaration.

* winsup.h: Move ld_preload declaration here.
* fork.cc (fork_child): Call ld_preload() before returning.
This commit is contained in:
Christopher Faylor
2005-08-11 16:30:48 +00:00
parent ff7bdd11f5
commit b21413b304
4 changed files with 11 additions and 2 deletions

View File

@@ -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;