commit | d286796fce1e6fff407b719a53eb2afbeb96c327 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Jun 03 15:22:34 2014 -0700 |
committer | Elliott Hughes <enh@google.com> | Tue Jun 03 15:22:34 2014 -0700 |
tree | c1edc80194a19b7b443611acd0ffdea2ddfe130a | |
parent | 2f9400b679ffe08f7190781e64edda5edf0f7297 [diff] [blame] |
Turn on -Wunused and fix the mistakes it uncovers. Change-Id: I023d2d8b547fbc21d4124bb7510d42b06a0dc501
diff --git a/libc/bionic/libc_init_static.cpp b/libc/bionic/libc_init_static.cpp index e45422e..ab0b3a6 100644 --- a/libc/bionic/libc_init_static.cpp +++ b/libc/bionic/libc_init_static.cpp
@@ -85,7 +85,7 @@ } __noreturn void __libc_init(void* raw_args, - void (*onexit)(void), + void (*onexit)(void) __unused, int (*slingshot)(int, char**, char**), structors_array_t const * const structors) { KernelArgumentBlock args(raw_args);