From 8f0c87e21f023cbbdc9a090535911619d2e881d7 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 23 Aug 2017 15:40:03 -0700 Subject: [PATCH] Remove dead `longjmperror`. This used to be used by the ARM longjmp implementation, but hasn't been in libc.so for as long as we've used a linker script. Bug: N/A Test: builds Change-Id: I3dff4d154d5e317955c349c9eaa08b982cbf0285 --- libc/bionic/assert.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libc/bionic/assert.cpp b/libc/bionic/assert.cpp index 41831cbbc..0f4ee9780 100644 --- a/libc/bionic/assert.cpp +++ b/libc/bionic/assert.cpp @@ -39,7 +39,3 @@ void __assert(const char* file, int line, const char* failed_expression) { void __assert2(const char* file, int line, const char* function, const char* failed_expression) { async_safe_fatal("%s:%d: %s: assertion \"%s\" failed", file, line, function, failed_expression); } - -extern "C" __LIBC_HIDDEN__ void longjmperror() { - async_safe_fatal("longjmp botch"); -}