From: Andreas Schneider Date: Fri, 21 Nov 2025 14:31:39 +0000 (+0100) Subject: libcli:ldap: Do not declare cm_print_error() X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9246b62a60a9af4e7123584bbdc4209e84cd2f03;p=thirdparty%2Fsamba.git libcli:ldap: Do not declare cm_print_error() This is part of the cmocka.h header file. Signed-off-by: Andreas Schneider Reviewed-by: Martin Schwenke Reviewed-by: Volker Lendecke --- diff --git a/libcli/ldap/tests/ldap_message_test.c b/libcli/ldap/tests/ldap_message_test.c index f4cabd0d6dd..eb8739792c0 100644 --- a/libcli/ldap/tests/ldap_message_test.c +++ b/libcli/ldap/tests/ldap_message_test.c @@ -44,11 +44,6 @@ #include "libcli/ldap/ldap_message.h" #include "libcli/ldap/ldap_proto.h" -/* - * declare the internal cmocka cm_print so we can output messages in - * sub unit format - */ -void cm_print_error(const char * const format, ...); /* * helper function and macro to compare an ldap error code constant with the * corresponding nt_status code