From 8f2a5a0b40fc82126c691d5c30131d908772aab7 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 15 Mar 2013 15:30:25 -0700 Subject: Clean up internal libc logging. We only need one logging API, and I prefer the one that does no allocation and is thus safe to use in any context. Also use O_CLOEXEC when opening the /dev/log files. Move everything logging-related into one header file. Change-Id: Ic1e3ea8e9b910dc29df351bff6c0aa4db26fbb58 --- libc/bionic/pthread_create.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libc/bionic/pthread_create.cpp') diff --git a/libc/bionic/pthread_create.cpp b/libc/bionic/pthread_create.cpp index 368c46d..15f18aa 100644 --- a/libc/bionic/pthread_create.cpp +++ b/libc/bionic/pthread_create.cpp @@ -35,8 +35,7 @@ #include "private/bionic_ssp.h" #include "private/bionic_tls.h" -#include "private/debug_format.h" -#include "private/logd.h" +#include "private/libc_logging.h" #include "private/thread_private.h" #include "private/ErrnoRestorer.h" #include "private/ScopedPthreadMutexLocker.h" -- cgit v1.1