From 5632c11bd2d91ec2cdf4bc111c5f23c2279c3af2 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 7 Jun 1999 18:37:16 +0000 Subject: [PATCH] Use LDAP_F/LDAP_P macros on library externs. Fix install of ldap_schema.h to use $(srcdir) --- include/Makefile.in | 2 +- include/lber_pvt.h | 2 +- include/ldap_log.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/Makefile.in b/include/Makefile.in index 23be05f6b0..9d02a3acbd 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -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 diff --git a/include/lber_pvt.h b/include/lber_pvt.h index c083d9fee7..471aa5b685 100644 --- a/include/lber_pvt.h +++ b/include/lber_pvt.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(( diff --git a/include/ldap_log.h b/include/ldap_log.h index 0714e952e5..0115024d40 100644 --- a/include/ldap_log.h +++ b/include/ldap_log.h @@ -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 */ -- 2.39.5