]> granicus.if.org Git - libnl/commit
dbg: Use __func__ instead of __PRETTY_FUNCTION__
authorMichael Forney <mforney@mforney.org>
Thu, 15 Aug 2019 18:49:51 +0000 (11:49 -0700)
committerThomas Haller <thaller@redhat.com>
Fri, 16 Aug 2019 05:42:03 +0000 (07:42 +0200)
commit1a88619b72c77b5390076ad703bfa3de4fa0348d
tree806a32188609685e8e2b74622841d87d5a579990
parent4ecb346c7c7392e918f9bc03bc8cd200f96e4c63
dbg: Use __func__ instead of __PRETTY_FUNCTION__

These behave the same, except when used at top-level. This can't happen
since the macro body is a statement.

__func__ is standardized since C99, while __PRETTY_FUNCTION__ is a
GNU extension.
include/netlink-private/netlink.h
lib/xfrm/ae.c
lib/xfrm/sa.c