Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/compiler_rt/dist/lib prefer __func__ instea...
details: https://anonhg.NetBSD.org/src/rev/94de6786d9f7
branches: trunk
changeset: 326805:94de6786d9f7
user: christos <christos%NetBSD.org@localhost>
date: Tue Feb 18 20:54:34 2014 +0000
description:
prefer __func__ instead of __FUNCTION__
diffstat:
sys/external/bsd/compiler_rt/dist/lib/int_util.h | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (13 lines):
diff -r f0ddf05b330a -r 94de6786d9f7 sys/external/bsd/compiler_rt/dist/lib/int_util.h
--- a/sys/external/bsd/compiler_rt/dist/lib/int_util.h Tue Feb 18 20:53:44 2014 +0000
+++ b/sys/external/bsd/compiler_rt/dist/lib/int_util.h Tue Feb 18 20:54:34 2014 +0000
@@ -20,8 +20,7 @@
#define INT_UTIL_H
/** \brief Trigger a program abort (or panic for kernel code). */
-#define compilerrt_abort() compilerrt_abort_impl(__FILE__, __LINE__, \
- __FUNCTION__)
+#define compilerrt_abort() compilerrt_abort_impl(__FILE__, __LINE__, __func__)
void compilerrt_abort_impl(const char *file, int line,
const char *function) __attribute__((noreturn));
Home |
Main Index |
Thread Index |
Old Index