include: replace __FUNCTION__ with __func__
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
8e9c7716c1
commit
d5c003b4d1
@ -303,7 +303,7 @@ extern int sctp_debug_flag;
|
||||
#define SCTP_ASSERT(expr, str, func) \
|
||||
if (!(expr)) { \
|
||||
SCTP_DEBUG_PRINTK("Assertion Failed: %s(%s) at %s:%s:%d\n", \
|
||||
str, (#expr), __FILE__, __FUNCTION__, __LINE__); \
|
||||
str, (#expr), __FILE__, __func__, __LINE__); \
|
||||
func; \
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user