aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Chisnall <dchisnall@pathscale.com>2014-05-09 01:35:32 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-05-09 01:35:32 +0000
commit2e54c354784a45b12ca666c49d1821f55e0919d8 (patch)
tree86e5d1d5c7805792d458cda772bb3f250cb648d1
parentaa67cf36a9eb1c053d40e65254f1b78169c9f496 (diff)
parent3cce3d06624794badf16a1d0129b688e9e4bac45 (diff)
downloadlibcxxrt-2e54c354784a45b12ca666c49d1821f55e0919d8.tar.gz
am 3cce3d06: Fix some warnings.
* commit '3cce3d06624794badf16a1d0129b688e9e4bac45': Fix some warnings.
-rw-r--r--src/cxa_finalize.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cxa_finalize.c b/src/cxa_finalize.c
index c02d70d..f0d1b8c 100644
--- a/src/cxa_finalize.c
+++ b/src/cxa_finalize.c
@@ -24,9 +24,9 @@
void __cxa_finalize(void *d );
-extern void __dso_handle;
+extern void *__dso_handle;
-__attribute((destructor))
+__attribute__((__destructor__, __used__))
static void cleanup(void) {
__cxa_finalize(&__dso_handle);
}