diff options
author | Christopher Faylor <me@cgf.cx> | 2008-07-27 22:31:48 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2008-07-27 22:31:48 +0000 |
commit | 038af33480450d3092adb520ce0974cb23efde9c (patch) | |
tree | 78c3033e59bb364c54f1a5790e4404e64a0baca4 /winsup/cygwin/shared_info.h | |
parent | b58e5f427a6905c1cefb2205c2359eef177dfb3a (diff) | |
download | cygnal-038af33480450d3092adb520ce0974cb23efde9c.tar.gz cygnal-038af33480450d3092adb520ce0974cb23efde9c.tar.bz2 cygnal-038af33480450d3092adb520ce0974cb23efde9c.zip |
* dcrt0.cc (dll_crt0_0): Remove calling malloc_init and
user_shared_initialize_1 from here.
(dll_crt0_1): Remove dynamically_loaded check. Just call malloc_init and
user_shared_initialize unconditionally.
* shared.cc (user_shared_create): Rename from user_shared_initialize.
(user_shared_initialize): Rename from user_shared_initialize_1. Move complete
user_shared content initialization code here from user_shared_create.
* syscalls.cc (seteuid32): Remove call to user_shared_initialize_1. That is
implied by the "true" argument to user_shared_create().
Diffstat (limited to 'winsup/cygwin/shared_info.h')
-rw-r--r-- | winsup/cygwin/shared_info.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/winsup/cygwin/shared_info.h b/winsup/cygwin/shared_info.h index 45b347014..91aca2a52 100644 --- a/winsup/cygwin/shared_info.h +++ b/winsup/cygwin/shared_info.h @@ -163,6 +163,7 @@ enum shared_locations SH_JUSTOPEN }; + void __stdcall memory_init (); void __stdcall shared_destroy (); @@ -185,6 +186,6 @@ char *__stdcall shared_name (char *, const char *, int); void *__stdcall open_shared (const char *name, int n, HANDLE &shared_h, DWORD size, shared_locations&, PSECURITY_ATTRIBUTES psa = &sec_all, DWORD access = FILE_MAP_READ | FILE_MAP_WRITE); -extern void user_shared_initialize (bool reinit); -extern void user_shared_initialize_1 (); +extern void user_shared_create (bool reinit); +extern void user_shared_initialize (); |