Skip to content
Snippets Groups Projects
Commit cc2278b3 authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

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.
parent 85e79b13
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment