diff options
Diffstat (limited to 'libc/bionic')
-rw-r--r-- | libc/bionic/logd_write.c | 9 | ||||
-rw-r--r-- | libc/bionic/pthread.c | 2 | ||||
-rw-r--r-- | libc/bionic/semaphore.c | 2 |
3 files changed, 9 insertions, 4 deletions
diff --git a/libc/bionic/logd_write.c b/libc/bionic/logd_write.c index 618160f..63dfd59 100644 --- a/libc/bionic/logd_write.c +++ b/libc/bionic/logd_write.c @@ -38,12 +38,17 @@ #include <stdarg.h> #include <fcntl.h> -#include <cutils/logger.h> #include "logd.h" +/* should match system/core/include/cutils/logger.h */ +#define LOGGER_LOG_MAIN "log/main" +#define LOGGER_LOG_RADIO "log/radio" +#define LOGGER_LOG_EVENTS "log/events" +#define LOGGER_LOG_SYSTEM "log/system" + #include <pthread.h> -#define LOG_BUF_SIZE 1024 +#define LOG_BUF_SIZE 1024 typedef enum { LOG_ID_NONE = 0, diff --git a/libc/bionic/pthread.c b/libc/bionic/pthread.c index ac5e6bf..8eee136 100644 --- a/libc/bionic/pthread.c +++ b/libc/bionic/pthread.c @@ -44,7 +44,7 @@ #include <assert.h> #include <malloc.h> #include <bionic_futex.h> -#include <cutils/atomic-inline.h> +#include <bionic_atomic_inline.h> #include <sys/prctl.h> #include <sys/stat.h> #include <fcntl.h> diff --git a/libc/bionic/semaphore.c b/libc/bionic/semaphore.c index 39d049a..0a6cab4 100644 --- a/libc/bionic/semaphore.c +++ b/libc/bionic/semaphore.c @@ -30,7 +30,7 @@ #include <sys/time.h> #include <sys/atomics.h> #include <time.h> -#include <cutils/atomic-inline.h> +#include <bionic_atomic_inline.h> #include <bionic_futex.h> /* Use the lower 31-bits for the counter, and the high bit for |