diff options
Diffstat (limited to 'winsup/cygwin/child_info.h')
-rw-r--r-- | winsup/cygwin/child_info.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/winsup/cygwin/child_info.h b/winsup/cygwin/child_info.h index e3e443084..08b5820df 100644 --- a/winsup/cygwin/child_info.h +++ b/winsup/cygwin/child_info.h @@ -35,7 +35,7 @@ enum child_status #define EXEC_MAGIC_SIZE sizeof(child_info) /* Change this value if you get a message indicating that it is out-of-sync. */ -#define CURR_CHILD_INFO_MAGIC 0x744dfd6dU +#define CURR_CHILD_INFO_MAGIC 0xb7de78e6U #define NPROCS 256 @@ -76,8 +76,8 @@ public: ~child_info (); void refresh_cygheap () { cygheap_max = ::cygheap_max; } void ready (bool); - bool sync (int, HANDLE&, DWORD) __attribute__ ((regparm (3))); - DWORD proc_retry (HANDLE) __attribute__ ((regparm (2))); + bool __reg3 sync (int, HANDLE&, DWORD); + DWORD __reg2 proc_retry (HANDLE); bool isstraced () const {return !!(flag & _CI_STRACED);} bool iscygwin () const {return !!(flag & _CI_ISCYGWIN);} bool saw_ctrl_c () const {return !!(flag & _CI_SAW_CTRL_C);} @@ -106,7 +106,7 @@ public: // user stack char filler[4]; child_info_fork (); - void handle_fork () __attribute__ ((regparm (1)));; + void __reg1 handle_fork ();; bool abort (const char *fmt = NULL, ...); void alloc_stack (); void alloc_stack_hard_way (volatile char *); @@ -146,7 +146,7 @@ public: void reattach_children (); void *operator new (size_t, void *p) __attribute__ ((nothrow)) {return p;} void set (child_info_types ci, bool b) { new (this) child_info_spawn (ci, b);} - void handle_spawn () __attribute__ ((regparm (1))); + void __reg1 handle_spawn (); bool set_saw_ctrl_c () { if (!has_execed ()) @@ -176,8 +176,8 @@ public: bool get_parent_handle (); bool has_execed_cygwin () const { return iscygwin () && has_execed (); } operator HANDLE& () {return hExeced;} - int worker (const char *, const char *const *, const char *const [], int, - int = -1, int = -1) __attribute__ ((regparm (3)));; + int __reg3 worker (const char *, const char *const *, const char *const [], int, + int = -1, int = -1);; }; extern child_info_spawn ch_spawn; |