aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/cygheap.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-06-15 21:59:32 +0000
committerChristopher Faylor <me@cgf.cx>2002-06-15 21:59:32 +0000
commit6ea3e429df9c98b850e3a4bf906da06f1c447bd9 (patch)
tree44e991f12dde60a88b0e2223dc9ba18bc22abe61 /winsup/cygwin/cygheap.h
parent5ae611458b5e107705f414c782afc53ce0bd4b59 (diff)
downloadnewlib-6ea3e429df9c98b850e3a4bf906da06f1c447bd9.zip
newlib-6ea3e429df9c98b850e3a4bf906da06f1c447bd9.tar.gz
newlib-6ea3e429df9c98b850e3a4bf906da06f1c447bd9.tar.bz2
* 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/cygheap.h')
-rw-r--r--winsup/cygwin/cygheap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/cygheap.h b/winsup/cygwin/cygheap.h
index f8777cc..7687ab7 100644
--- a/winsup/cygwin/cygheap.h
+++ b/winsup/cygwin/cygheap.h
@@ -276,7 +276,7 @@ class cygheap_fdget : public cygheap_fdmanip
class child_info;
void *__stdcall cygheap_setup_for_child (child_info *ci, bool dup_later) __attribute__ ((regparm(2)));
void __stdcall cygheap_setup_for_child_cleanup (void *, child_info *, bool) __attribute__ ((regparm(3)));
-void __stdcall cygheap_fixup_in_child (child_info *, bool);
+void __stdcall cygheap_fixup_in_child (bool);
extern "C" {
void __stdcall cfree (void *) __attribute__ ((regparm(1)));
void *__stdcall cmalloc (cygheap_types, DWORD) __attribute__ ((regparm(2)));