diff options
author | Christopher Faylor <me@cgf.cx> | 2007-11-26 21:30:49 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2007-11-26 21:30:49 +0000 |
commit | ee4388c4200ed46ebeb8509f6dd204a6476017dc (patch) | |
tree | 55fd4f1c7f8e169eb4aad0c646333be0cc2a1da3 /winsup/cygwin/cygheap.h | |
parent | 32cba6cb3a8366df854ba24ece2a60f1b2f872a3 (diff) | |
download | cygnal-ee4388c4200ed46ebeb8509f6dd204a6476017dc.tar.gz cygnal-ee4388c4200ed46ebeb8509f6dd204a6476017dc.tar.bz2 cygnal-ee4388c4200ed46ebeb8509f6dd204a6476017dc.zip |
Change many cygheap allocation routines to their *_abort analogs.
* cygheap.cc (cmalloc_abort): New function.
(crealloc_abort): Ditto.
(ccalloc_abort): Ditto.
Diffstat (limited to 'winsup/cygwin/cygheap.h')
-rw-r--r-- | winsup/cygwin/cygheap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/cygwin/cygheap.h b/winsup/cygwin/cygheap.h index bf93e4633..f51b9a1e9 100644 --- a/winsup/cygwin/cygheap.h +++ b/winsup/cygwin/cygheap.h @@ -418,6 +418,9 @@ void __stdcall cfree (void *) __attribute__ ((regparm(1))); void *__stdcall cmalloc (cygheap_types, DWORD) __attribute__ ((regparm(2))); void *__stdcall crealloc (void *, DWORD) __attribute__ ((regparm(2))); void *__stdcall ccalloc (cygheap_types, DWORD, DWORD) __attribute__ ((regparm(3))); +void *__stdcall cmalloc_abort (cygheap_types, DWORD) __attribute__ ((regparm(2))); +void *__stdcall crealloc_abort (void *, DWORD) __attribute__ ((regparm(2))); +void *__stdcall ccalloc_abort (cygheap_types, DWORD, DWORD) __attribute__ ((regparm(3))); char *__stdcall cstrdup (const char *) __attribute__ ((regparm(1))); char *__stdcall cstrdup1 (const char *) __attribute__ ((regparm(1))); void __stdcall cfree_and_set (char *&, char * = NULL) __attribute__ ((regparm(2))); |