+2005-08-11 Christopher Faylor <cgf@timesys.com>
+
+ * dcrt0.cc: Remove ld_preload declaration.
+ * winsup.h: Move ld_preload declaration here.
+ * fork.cc (fork_child): Call ld_preload() before returning.
+
2005-08-11 Christopher Faylor <cgf@timesys.com>
* child_info. (CURR_CHILD_INFO_MAGIC): Refresh.
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;
extern "C" void error_start_init (const char*);
extern "C" int try_to_debug (bool waitloop = 1);
+extern void ld_preload ();
+
void set_file_api_mode (codepage_type);
extern bool cygwin_finished_initializing;
void __stdcall time_as_timestruc_t (timestruc_t *);
void __stdcall timeval_to_filetime (const struct timeval *, FILETIME *);
+/* Console related */
void __stdcall set_console_title (char *);
void init_console_handler (BOOL);
+
void init_global_security ();
int __stdcall check_invalid_virtual_addr (const void *s, unsigned sz) __attribute__ ((regparm(2)));