From: Hallvard Furuseth Date: Thu, 2 Sep 1999 06:19:21 +0000 (+0000) Subject: Axe support: Don't use LDAP_P() on varargs prototype. X-Git-Tag: TWEB_OL_BASE~46 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cc2278b36a43cbf2d7ff057dc1a6ae7815ab7a0c;p=openldap Axe support: Don't use LDAP_P() on varargs prototype. Also fix debug_printf macro when !LDAP_DEBUG: It did not take arguments. --- 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 */ /*