prefer __func__ instead of __FUNCTION__

This commit is contained in:
christos 2014-02-18 20:54:34 +00:00
parent e7f41d7afa
commit e7cf1ceb60

View File

@ -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));