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/b772afc37270
branches:  trunk
changeset: 793545:b772afc37270
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 39d700db5d61 -r b772afc37270 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