]> granicus.if.org Git - libevent/commit
util-internal: fix __func__ redefinition (netbsd)
authorAzat Khuzhin <a3at.mail@gmail.com>
Tue, 6 Dec 2016 09:08:32 +0000 (12:08 +0300)
committerAzat Khuzhin <a3at.mail@gmail.com>
Tue, 6 Dec 2016 09:54:33 +0000 (12:54 +0300)
commit253e7fa90caf3cfc5314f47bac0fd9d98cd9e651
treeb8e5b9a072a1bfb74be16791233a301ceba12642
parent2c62062e126913657ac52b56c2ec865f5c695f75
util-internal: fix __func__ redefinition (netbsd)

==> netbsd: In file included from ../listener.c:57:0:
==> netbsd: ../util-internal.h:58:0: warning: "__func__" redefined [enabled by default]
==> netbsd:  #define __func__ EVENT____func__
==> netbsd:  ^
==> netbsd: In file included from /usr/include/amd64/types.h:39:0,
==> netbsd:                  from /usr/include/sys/types.h:45,
==> netbsd:                  from ../listener.c:30:
==> netbsd: /usr/include/sys/cdefs.h:394:0: note: this is the location of the previous definition
==> netbsd:  #define __func__ __PRETTY_FUNCTION__
event_rpcgen.py
sample/signal-test.c
test/regress_main.c
test/test-closed.c
test/test-eof.c
test/test-weof.c
util-internal.h