Skip to content
Snippets Groups Projects
Commit 5632c11b authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Use LDAP_F/LDAP_P macros on library externs.

Fix install of ldap_schema.h to use $(srcdir)
parent 12ed7e46
No related branches found
No related tags found
No related merge requests found
......@@ -10,10 +10,10 @@ install-local: FORCE
$(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/ldap.h $(includedir)
$(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/lber.h $(includedir)
$(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/ldap_cdefs.h $(includedir)
$(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/ldap_schema.h $(includedir)
$(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/disptmpl.h $(includedir)
$(INSTALL) $(INSTALLFLAGS) -m 644 $(srcdir)/srchpref.h $(includedir)
$(INSTALL) $(INSTALLFLAGS) -m 644 ldap_features.h $(includedir)
$(INSTALL) $(INSTALLFLAGS) -m 644 ldap_schema.h $(includedir)
clean-local: FORCE
$(RM) ldapconfig.h
......
......@@ -22,7 +22,7 @@ LDAP_BEGIN_DECL
/*
* bprint.c
*/
extern BER_LOG_PRINT_FN ber_pvt_log_print;
LDAP_F( BER_LOG_PRINT_FN ) ber_pvt_log_print;
LDAP_F( int )
ber_pvt_log_printf LDAP_P((
......
......@@ -72,7 +72,7 @@ extern int ldap_syslog_level;
fprintf( stderr, (fmt), (arg1), (arg2), (arg3) ); \
} while ( 0 )
#else /* !WINSOCK */
extern void Debug( int level, const char* fmt, ... );
LDAP_F(void) Debug LDAP_P(( int level, const char* fmt, ... ));
#endif /* !WINSOCK */
#endif /* LDAP_SYSLOG */
#else /* 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