Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 334233b0 authored by Steven Moreland's avatar Steven Moreland
Browse files

libbinder: re-mark debug function as extern "C"

This is used by memunreachable_binder_test. Additional CLs will
follow this up.

Bug: 183683799
Test: memunreachable_binder_test
Change-Id: Ifc6d439da4c97749e6c9b3f1593fd7e65bc5fbb9
parent 4e83ba78
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -37,8 +37,7 @@ void printHexData(int32_t indent, const void *buf, size_t length,
    size_t alignment=0, bool cArrayStyle=false,
    size_t alignment=0, bool cArrayStyle=false,
    debugPrintFunc func = nullptr, void* cookie = nullptr);
    debugPrintFunc func = nullptr, void* cookie = nullptr);



extern "C" ssize_t getBinderKernelReferences(size_t count, uintptr_t* buf);
ssize_t getBinderKernelReferences(size_t count, uintptr_t* buf);


// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
} // namespace android
} // namespace android