summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-03-27 10:21:38 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-03-27 10:21:38 +0100
commit50bab8605e8288f9dcca013a625cb0e5715e76f6 (patch)
treecf47eb5adc5fbfba295a28612078ea78a289335e /sal
parent3a550b773d1bc292759532833a807d5fc98b7549 (diff)
-Werror=unused-macros
Change-Id: I3c64ed78577988767a7da859e68a7f63f890f7dc
Diffstat (limited to 'sal')
-rw-r--r--sal/android/lo-bootstrap.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sal/android/lo-bootstrap.c b/sal/android/lo-bootstrap.c
index 99da6abff8bf..27738dd01c65 100644
--- a/sal/android/lo-bootstrap.c
+++ b/sal/android/lo-bootstrap.c
@@ -54,14 +54,9 @@
#include "osl/detail/android-bootstrap.h"
#undef LOGI
-#undef LOGW
#define LOGI(...) ((void)__android_log_print(ANDROID_LOG_INFO, "lo-bootstrap", __VA_ARGS__))
-#define LOGW(...) ((void)__android_log_print(ANDROID_LOG_WARN, "lo-bootstrap", __VA_ARGS__))
#define LOGE(...) ((void)__android_log_print(ANDROID_LOG_ERROR, "lo-bootstrap", __VA_ARGS__))
-#define LOGF(...) ((void)__android_log_print(ANDROID_LOG_FATAL, "lo-bootstrap", __VA_ARGS__))
-
-#define ROUND_DOWN(ptr,multiple) (void *)(((unsigned) (ptr)) & ~((multiple)-1))
#define MAX(a,b) ((a) > (b) ? (a) : (b))
@@ -80,8 +75,6 @@ static JavaVM *the_java_vm;
/* compression methods */
#define STORE 0
-#define DEFLATE 8
-#define LZMA 14
struct local_file_header {
uint32_t signature;