summaryrefslogtreecommitdiff
path: root/obexd
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2013-09-10 16:11:37 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2013-09-11 13:22:08 +0300
commitc64fd37802d3609522d8121a21126ea797bf4e23 (patch)
tree9ff7c637ec2ed809670e46b9b6aef542cd97b8d4 /obexd
parent84a07386222ca2bc497a24c479cb1f145251fe6e (diff)
codingstyle: Change __FUNCTION__ to __func__
The __func__ macro is part of the C99 standard whereas __FUNCTION__ is a legacy gcc specific alias for it: http://gcc.gnu.org/onlinedocs/gcc/Function-Names.html Additionally, checkpatch.pl that's commonly used to verify coding style also recommends to use __func__ instead of __FUNCTION__.
Diffstat (limited to 'obexd')
-rw-r--r--obexd/src/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/obexd/src/log.h b/obexd/src/log.h
index 1bf1b058b..d9fb8678f 100644
--- a/obexd/src/log.h
+++ b/obexd/src/log.h
@@ -52,5 +52,5 @@ struct obex_debug_desc {
.file = __FILE__, .flags = OBEX_DEBUG_FLAG_DEFAULT, \
}; \
if (__obex_debug_desc.flags & OBEX_DEBUG_FLAG_PRINT) \
- obex_debug("%s:%s() " fmt, __FILE__, __FUNCTION__ , ## arg); \
+ obex_debug("%s:%s() " fmt, __FILE__, __func__ , ## arg); \
} while (0)