From: Kurt Zeilenga Date: Wed, 2 Jun 1999 03:09:40 +0000 (+0000) Subject: Fix -ULDAP_DEBUG lint. X-Git-Tag: OPENLDAP_REL_ENG_2_BP~435 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=14b04f4d0b71b0e74fec0d5dd22b24a663b52dea;p=openldap Fix -ULDAP_DEBUG lint. --- diff --git a/servers/slapd/modify.c b/servers/slapd/modify.c index b0e6f121e4..53b4ac7680 100644 --- a/servers/slapd/modify.c +++ b/servers/slapd/modify.c @@ -31,8 +31,11 @@ do_modify( char *ndn; char *last; unsigned long tag, len; - LDAPModList *modlist, *tmp; + LDAPModList *modlist; LDAPModList **modtail; +#ifdef LDAP_DEBUG + LDAPModList *tmp; +#endif Backend *be; Debug( LDAP_DEBUG_TRACE, "do_modify\n", 0, 0, 0 ); diff --git a/servers/slapd/nt_debug.c b/servers/slapd/nt_debug.c index e892ee0eb9..8bbd5009e3 100644 --- a/servers/slapd/nt_debug.c +++ b/servers/slapd/nt_debug.c @@ -10,7 +10,7 @@ static FILE *log_file; -void Debug( int level, const char *fmt, ... ) +void (Debug)( int level, const char *fmt, ... ) { char buffer[4096]; va_list vl;