prefer __func__ instead of __FUNCTION__
This commit is contained in:
parent
e7f41d7afa
commit
e7cf1ceb60
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user