lib/krb5: Remove __func__ compatibility workaround
commit5e48ec6c886cfa15b83c1f84e60a5ef9ed64c16c
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Thu, 17 Nov 2022 02:11:51 +0000 (16 21:11 -0500)
committerJeffrey Altman <jaltman@auristor.com>
Thu, 17 Nov 2022 02:40:02 +0000 (16 21:40 -0500)
tree2dd6e6ae98528a88d02efbbe0e796adeb382be1b
parent36cf07bc446e24fc43e6b9a730c7118984d9d695
lib/krb5: Remove __func__ compatibility workaround

As described by the C standard, __func__ is a variable, not a macro.
Hence this #ifndef check does not work as intended, and only serves to
unconditionally disable __func__. A nonoperating __func__ prevents
cmocka operating correctly, so remove this definition.

Samba BUG: https://bugzilla.samba.org/show_bug.cgi?id=15134

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Change-Id: Ieac3937b9e86f39e84c0c056ffd649e44b292099
lib/krb5/krb5_locl.h