Loading...
--- libmalloc/libmalloc-474.0.13/src/printf.h
+++ libmalloc/libmalloc-317.100.9/src/printf.h
@@ -21,15 +21,10 @@
  * @APPLE_LICENSE_HEADER_END@
  */
 
-#define	MALLOC_REPORT_NOLOG			0x010
-#define	MALLOC_REPORT_NOPREFIX		0x020
-#define MALLOC_REPORT_CRASH			0x040
-#define MALLOC_REPORT_DEBUG			0x080
-#define MALLOC_REPORT_BACKTRACE		0x100
-#define MALLOC_REPORT_NOWRITE		0x200
-
-#define MALLOC_REPORT_LOG_ONLY \
-		(MALLOC_REPORT_NOPREFIX | MALLOC_REPORT_NOWRITE)
+#define	MALLOC_REPORT_NOLOG			0x10
+#define	MALLOC_REPORT_NOPREFIX		0x20
+#define MALLOC_REPORT_CRASH			0x40
+#define MALLOC_REPORT_DEBUG			0x80
 
 // Most internal logging should use malloc_report() or malloc_vreport(). The
 // flags argument should be a combination of the MALLOC_REPORT_xxx values and
@@ -48,10 +43,6 @@
 //	MALLOC_REPORT_CRASH:
 //			Same as MALLOC_REPORTDEBUG, but crashes after writing the report
 //			message.
-//	MALLOC_REPORT_BACKTRACE:
-//			Append a UUID+offset backtrace to the report text.
-//	MALLOC_REPORT_NOWRITE:
-//			Does not send the text to malloc_debug_file.
 //
 // In addition, if MALLOC_REPORT_CRASH or MALLOC_REPORTDEBUG are specified, this
 // function will sleep for an hour or send a SIGSTOP signal to the process if
@@ -87,6 +78,3 @@
 // default, goes to stderr if it's a tty, and is otherwise dropped.
 MALLOC_NOEXPORT void
 malloc_print_configure(bool restricted);
-
-MALLOC_NOEXPORT unsigned
-_malloc_default_debug_sleep_time(void);