mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Axe <varargs.h> support: Don't use LDAP_P() on varargs prototype.
Also fix debug_printf macro when !LDAP_DEBUG: It did not take arguments.
This commit is contained in:
parent
85e79b1348
commit
cc2278b36a
1 changed files with 2 additions and 2 deletions
|
|
@ -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 */
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue