summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/binder/Debug.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/binder/Debug.h b/libs/binder/Debug.h
index 68d811bb48..7ca087e7d2 100644
--- a/libs/binder/Debug.h
+++ b/libs/binder/Debug.h
@@ -37,8 +37,7 @@ void printHexData(int32_t indent, const void *buf, size_t length,
size_t alignment=0, bool cArrayStyle=false,
debugPrintFunc func = nullptr, void* cookie = nullptr);
-
-ssize_t getBinderKernelReferences(size_t count, uintptr_t* buf);
+extern "C" ssize_t getBinderKernelReferences(size_t count, uintptr_t* buf);
// ---------------------------------------------------------------------------
} // namespace android