Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2005-01-27 03:34:42 +0300
committerDanny Smith <dannysmith@users.sourceforge.net>2005-01-27 03:34:42 +0300
commit93b96855f49474b420919307273498589b7373a0 (patch)
tree501720a1f256abe84ff8f5a610cb1b301412d543 /winsup/mingw
parent325eadaa57b3eaac4ef3547144f7747f7e7ec63d (diff)
2005-01-26 Oliver Stoeneberg <oliverst@online.de>
* include/malloc.h: Add missing return code defines for _heapwalk()
Diffstat (limited to 'winsup/mingw')
-rw-r--r--winsup/mingw/ChangeLog5
-rw-r--r--winsup/mingw/include/malloc.h8
2 files changed, 13 insertions, 0 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog
index 9d7d2b301..8c10559cf 100644
--- a/winsup/mingw/ChangeLog
+++ b/winsup/mingw/ChangeLog
@@ -1,3 +1,8 @@
+2005-01-26 Oliver Stoeneberg <oliverst@online.de>
+
+ * include/malloc.h: Add missing return code defines for
+ _heapwalk()
+
2005-01-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/sys/stat.h (struct __stat64): Change st_size type to
diff --git a/winsup/mingw/include/malloc.h b/winsup/mingw/include/malloc.h
index dac7ee4c7..9c530f019 100644
--- a/winsup/mingw/include/malloc.h
+++ b/winsup/mingw/include/malloc.h
@@ -35,6 +35,14 @@ typedef struct _heapinfo
#define _USEDENTRY 0
#define _FREEENTRY 1
+/* Return codes for _heapwalk() */
+#define _HEAPEMPTY (-1)
+#define _HEAPOK (-2)
+#define _HEAPBADBEGIN (-3)
+#define _HEAPBADNODE (-4)
+#define _HEAPEND (-5)
+#define _HEAPBADPTR (-6)
+
#ifdef __cplusplus
extern "C" {
#endif