summaryrefslogtreecommitdiffstats
path: root/libc/bionic/logd_write.c
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2010-06-10 23:34:24 -0700
committerDavid 'Digit' Turner <digit@google.com>2010-06-11 13:49:09 -0700
commit6c8a2f2a5bc8d612ee953f528f2b5eb35983656a (patch)
tree7dd45d3e3162220578e93a6cb7244b4209b1c7c5 /libc/bionic/logd_write.c
parent038fbae518e904c7aba64779714a22dbeeb90887 (diff)
downloadbionic-6c8a2f2a5bc8d612ee953f528f2b5eb35983656a.zip
bionic-6c8a2f2a5bc8d612ee953f528f2b5eb35983656a.tar.gz
bionic-6c8a2f2a5bc8d612ee953f528f2b5eb35983656a.tar.bz2
libc: remove cutils dependencies
We simply copy the stuff we need from cutils headers. A future patch will change cutils to include the private <bionic_atomic_inline.h> Change-Id: Ib6fd9a03bc9e337ce867bd606dc94c2b4438480a
Diffstat (limited to 'libc/bionic/logd_write.c')
-rw-r--r--libc/bionic/logd_write.c9
1 files changed, 7 insertions, 2 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,