summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/debug.h
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@pefoley.com>2016-03-31 14:04:17 -0400
committerCorinna Vinschen <corinna@vinschen.de>2016-04-01 13:53:25 +0200
commitb259af51b8c20850835f02d2db7b2f9c26203acc (patch)
tree42017f1c28f2dd34cdbb3edec0c720eaab3155d6 /winsup/cygwin/debug.h
parent02cfe004458f20f95539db14251f2473a842fc95 (diff)
downloadcygnal-b259af51b8c20850835f02d2db7b2f9c26203acc.tar.gz
cygnal-b259af51b8c20850835f02d2db7b2f9c26203acc.tar.bz2
cygnal-b259af51b8c20850835f02d2db7b2f9c26203acc.zip
Remove remnants of never-defined MALLOC_DEBUG and NEWVFORK
MALLOC_DEBUG and NEWVFORK haven't been defined since 2008 (46162537516c5e5fbb). Remove all references to tem. winsup/cygwin/ChangeLog: acconfig.h: delete dcrt0.cc (dll_crt0_1): remove NEWVFORK code. dcrt0.cc (do_exit): ditto. debug.h: ditto. dtable.h: ditto. winsup.h: ditto. globals.cc: ditto. malloc_wrapper.cc: ditto. malloc_wrapper.cc (malloc_init): ditto. spawn.cc (spawnve): ditto. syscalls.cc (setsid): ditto. Signed-off-by: Peter Foley <pefoley2@pefoley.com>
Diffstat (limited to 'winsup/cygwin/debug.h')
-rw-r--r--winsup/cygwin/debug.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/winsup/cygwin/debug.h b/winsup/cygwin/debug.h
index 627c77ed6..602ab9326 100644
--- a/winsup/cygwin/debug.h
+++ b/winsup/cygwin/debug.h
@@ -7,16 +7,7 @@ This software is a copyrighted work licensed under the terms of the
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */
-#ifndef MALLOC_DEBUG
#define MALLOC_CHECK do {} while (0)
-#else
-#include <stdlib.h>
-#include <malloc.h>
-#define MALLOC_CHECK ({\
- debug_printf ("checking malloc pool");\
- mallinfo ();\
-})
-#endif
#if !defined(_DEBUG_H_)
#define _DEBUG_H_