aboutsummaryrefslogtreecommitdiffstats
path: root/libc/private/libc_logging.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-05-06 20:37:22 -0700
committerElliott Hughes <enh@google.com>2014-05-06 20:37:22 -0700
commitc78368f04faa4ee17f546985809e7550f3f88636 (patch)
tree837ebe14bbb4a6f54e192a0b941d17e3cdc94b5c /libc/private/libc_logging.h
parente05df25145eda8ca59db5eb03cf5dbf8c7714870 (diff)
downloadandroid_bionic-c78368f04faa4ee17f546985809e7550f3f88636.tar.gz
android_bionic-c78368f04faa4ee17f546985809e7550f3f88636.tar.bz2
android_bionic-c78368f04faa4ee17f546985809e7550f3f88636.zip
Change the interface for fatal logging.
This more general interface lets liblog give us any fatal log message, regardless of source. This means we can remove the special case for LOG_ALWAYS_FATAL with a simpler scheme that automatically works for the VM too. Change-Id: Ia6dbf7c3dbabf223081bd5159294835d954bb067
Diffstat (limited to 'libc/private/libc_logging.h')
-rw-r--r--libc/private/libc_logging.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/private/libc_logging.h b/libc/private/libc_logging.h
index 54e050a78..822f232cc 100644
--- a/libc/private/libc_logging.h
+++ b/libc/private/libc_logging.h
@@ -68,14 +68,13 @@ struct abort_msg_t {
char msg[0];
};
-__LIBC_HIDDEN__ void __libc_set_abort_message(const char* msg);
+void __android_set_abort_message(const char* msg);
//
// Formats a message to the log (priority 'fatal'), then aborts.
//
__LIBC_HIDDEN__ __noreturn void __libc_fatal(const char* format, ...) __printflike(1, 2);
-__noreturn void __android_fatal(const char* tag, const char* format, ...) __printflike(2, 3);
//
// Formats a message to the log (priority 'fatal'), but doesn't abort.