From cc2278b36a43cbf2d7ff057dc1a6ae7815ab7a0c Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Thu, 2 Sep 1999 06:19:21 +0000 Subject: [PATCH] Axe support: Don't use LDAP_P() on varargs prototype. Also fix debug_printf macro when !LDAP_DEBUG: It did not take arguments. --- servers/slapd/shell-backends/shellutil.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/shell-backends/shellutil.h b/servers/slapd/shell-backends/shellutil.h index 119689d5fb..0832432ff0 100644 --- a/servers/slapd/shell-backends/shellutil.h +++ b/servers/slapd/shell-backends/shellutil.h @@ -75,9 +75,9 @@ struct ldentry { #ifdef LDAP_DEBUG -void debug_printf LDAP_P((char *, ...)); +void debug_printf(const char *, ...); #else /* LDAP_DEBUG */ -#define debug_printf() +#define debug_printf (void) /* Ignore "arguments" */ #endif /* LDAP_DEBUG */ /* -- 2.39.5