diff options
| author | Jean-Baptiste Queru <jbq@google.com> | 2009-11-12 18:46:23 -0800 |
|---|---|---|
| committer | Jean-Baptiste Queru <jbq@google.com> | 2009-11-12 18:46:23 -0800 |
| commit | 4b29fe640ae852c04d5d87d0f9527bdc32177ad1 (patch) | |
| tree | 310b38e74c5942a86975af4bcb32d3adab9b6e88 /liblog | |
| parent | 85b3fcc5de004999756c1e90bcf845480217b3f6 (diff) | |
| download | system_core-4b29fe640ae852c04d5d87d0f9527bdc32177ad1.tar.gz system_core-4b29fe640ae852c04d5d87d0f9527bdc32177ad1.tar.bz2 system_core-4b29fe640ae852c04d5d87d0f9527bdc32177ad1.zip | |
eclair snapshot
Diffstat (limited to 'liblog')
| -rw-r--r-- | liblog/logd_write.c | 6 | ||||
| -rw-r--r-- | liblog/logprint.c | 1 |
2 files changed, 1 insertions, 6 deletions
diff --git a/liblog/logd_write.c b/liblog/logd_write.c index 96da38b6..241dbf0c 100644 --- a/liblog/logd_write.c +++ b/liblog/logd_write.c @@ -142,11 +142,7 @@ int __android_log_write(int prio, const char *tag, const char *msg) /* XXX: This needs to go! */ if (!strcmp(tag, "HTC_RIL") || - !strcmp(tag, "RILJ") || - !strcmp(tag, "RILB") || - !strcmp(tag, "RILC") || - !strcmp(tag, "RILD") || - !strcmp(tag, "RIL") || + !strncmp(tag, "RIL", 3) || /* Any log tag with "RIL" as the prefix */ !strcmp(tag, "AT") || !strcmp(tag, "GSM") || !strcmp(tag, "STK") || diff --git a/liblog/logprint.c b/liblog/logprint.c index 2cf12545..080f9e36 100644 --- a/liblog/logprint.c +++ b/liblog/logprint.c @@ -23,7 +23,6 @@ #include <stdlib.h> #include <stdint.h> #include <string.h> -#include <alloca.h> #include <assert.h> #include <arpa/inet.h> |
