From: Kurt Zeilenga Date: Mon, 7 Jun 1999 18:37:16 +0000 (+0000) Subject: Use LDAP_F/LDAP_P macros on library externs. X-Git-Tag: OPENLDAP_REL_ENG_2_BP~379 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5632c11bd2d91ec2cdf4bc111c5f23c2279c3af2;p=openldap Use LDAP_F/LDAP_P macros on library externs. Fix install of ldap_schema.h to use $(srcdir) --- 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 */