summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/heap.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-09-09 19:06:50 +0000
committerChristopher Faylor <me@cgf.cx>2001-09-09 19:06:50 +0000
commitde05a524ca9636914d8c228551f27feb6b509c4d (patch)
tree11680bdf0bf8920df92b999dd462206e5b8d5d36 /winsup/cygwin/heap.h
parentc38677586752178f00e7ad467c8daae2121d10c8 (diff)
downloadcygnal-de05a524ca9636914d8c228551f27feb6b509c4d.tar.gz
cygnal-de05a524ca9636914d8c228551f27feb6b509c4d.tar.bz2
cygnal-de05a524ca9636914d8c228551f27feb6b509c4d.zip
* cygheap.cc (cygheap_fixup_in_child): Clear cygheap->base so that heap is not
forced to start at the same place in execed process. * heap.cc: Remove brk* macros for clarity throughout. * heap.h: Ditto. * shared.cc (shared_info::initialize): Move heap_chunk test into heap_chunk_size(). (heap_chunk_size): Check for chunk size here. Don't go to registry if heap_chunk_in_mb is already set. * smallprint.c (console_printf): Add Windows 95 concessions.
Diffstat (limited to 'winsup/cygwin/heap.h')
-rw-r--r--winsup/cygwin/heap.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/winsup/cygwin/heap.h b/winsup/cygwin/heap.h
index fca9d9e5c..96046cbb9 100644
--- a/winsup/cygwin/heap.h
+++ b/winsup/cygwin/heap.h
@@ -15,10 +15,3 @@ void heap_init ();
void malloc_init ();
#define inheap(s) (brk && ((char *) (s) >= (char *) brkbase) && ((char *) (s) <= (char *) brktop))
-
-#define brksize ((char *) cygheap->heaptop - (char *) cygheap->heapbase)
-#define brk (cygheap->heapptr)
-#define brkbase (cygheap->heapbase)
-#define brktop (cygheap->heaptop)
-#define brkchunk (cygwin_shared->heap_chunk_size ())
-