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:
Hallvard Furuseth 1999-09-02 06:19:21 +00:00
parent 85e79b1348
commit cc2278b36a

View file

@ -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 */
/*