Compile with GCC 5
authorHefee <hefee@netzguerilla.net>
Wed, 6 May 2015 23:15:55 +0000 (01:15 +0200)
committerHefee <hefee@netzguerilla.net>
Wed, 6 May 2015 23:15:55 +0000 (01:15 +0200)
commit23b6426dfa1a17b05860c3a9e0ce08c4cd45b64b
tree3492356725799145cac407de96c6bfc245a1ee26
parent9ef8658122b7156657f9eba5cf3206d403f6258d
Compile with GCC 5

this fixes the error and makes complete oCC compile with GCC 5.
error: ISO C does not support '__FUNCTION__' predefined identifier
[-Wpedantic]

According to the porting guide:
The fix is either to use the standard predefined identifier __func__
(since C99), or to use the __extension__ keyword.
csync/src/csync_log.h
csync/src/httpbf/src/httpbf.c
csync/tests/csync_tests/check_csync_log.c