OSDN Git Service

codingstyle: Change __FUNCTION__ to __func__
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Tue, 10 Sep 2013 13:11:37 +0000 (16:11 +0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 11 Sep 2013 10:22:08 +0000 (13:22 +0300)
commitc64fd37802d3609522d8121a21126ea797bf4e23
tree9ff7c637ec2ed809670e46b9b6aef542cd97b8d4
parent84a07386222ca2bc497a24c479cb1f145251fe6e
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__.
attrib/gattrib.c
gobex/gobex-debug.h
obexd/src/log.h
src/log.h