Loading...
os/debug_private.h Libc-1725.40.4 Libc-1044.1.2
--- Libc/Libc-1725.40.4/os/debug_private.h
+++ Libc/Libc-1044.1.2/os/debug_private.h
@@ -28,12 +28,9 @@
 
 #include <os/base_private.h>
 #include <stdarg.h>
-#include <stdbool.h>
-
-OS_ASSUME_PTR_ABI_SINGLE_BEGIN
 
 __OSX_AVAILABLE_STARTING(__MAC_10_9, __IPHONE_6_0)
-OS_FORMAT_PRINTF(1, 2) OS_COLD
+OS_FORMAT_PRINTF(1, 2)
 extern void
 _os_debug_log(const char *msg, ...);
 
@@ -64,7 +61,6 @@
  */
 #define os_debug_log_redirect(func) \
 	__attribute__((__used__)) \
-	__attribute__((__cold__)) \
 	__attribute__((__visibility__("default"))) \
 	bool _os_debug_log_redirect_func(const char *msg) { \
 		return func(msg); \
@@ -73,15 +69,9 @@
 # pragma mark -
 # pragma mark Private To Libc
 
-// weak symbol that main binaries can override with os_debug_log_redirect()
-extern bool _os_debug_log_redirect_func(const char *);
-
 // str must be modifiable (non-const)!
 __OSX_AVAILABLE_STARTING(__MAC_10_9, __IPHONE_6_0)
-OS_COLD
 extern void
-_os_debug_log_error_str(char *__unsafe_indexable str);
-
-OS_ASSUME_PTR_ABI_SINGLE_END
+_os_debug_log_error_str(char *str);
 
 #endif /* __OS_DEBUG_LOG_H__ */