diff options
author | Christopher Faylor <me@cgf.cx> | 2002-06-16 01:59:32 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-06-16 01:59:32 +0400 |
commit | 6ea3e429df9c98b850e3a4bf906da06f1c447bd9 (patch) | |
tree | 44e991f12dde60a88b0e2223dc9ba18bc22abe61 /winsup/cygwin/environ.cc | |
parent | 5ae611458b5e107705f414c782afc53ce0bd4b59 (diff) |
* child_info.h (child_proc_info): Declare as base class.
(spawn_info): Declare as alias of child_proc_info to aid debugging.
(fork_info): Ditto.
* cygheap.cc (cygheap_fixup_in_child): Use child_proc_info global rather than
parameter.
* cygheap.h (cygheap_fixup_in_child): Reflect above change in declaration.
* dcrt0.cc (_dll_crt0): Move 'si' definition here. Assign child_proc_info.
(dll_crt0_1): Accommodate cygheap_fixup_in_child and *_info changes.
* environ.cc (spenv::retrieve): Make regparm.
* environ.h (environ_init): Ditto.
(win_env::add_cache): Ditto.
(build_env): Ditto.
(getwinenv): Ditto.
* fork.cc (sync_with_parent): Use fork_info global.
(fork_child): Ditto.
Diffstat (limited to 'winsup/cygwin/environ.cc')
-rw-r--r-- | winsup/cygwin/environ.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/environ.cc b/winsup/cygwin/environ.cc index 9ed6e4142..50da31c69 100644 --- a/winsup/cygwin/environ.cc +++ b/winsup/cygwin/environ.cc @@ -754,7 +754,8 @@ struct spenv { const char *name; const char * (cygheap_user::*from_cygheap) (); - char *retrieve (bool, const char * const = NULL, int = 0); + char *retrieve (bool, const char * const = NULL, int = 0) + __attribute__ ((regparm (3))); }; /* Keep this list in upper case and sorted */ |