Use LDAP_F/LDAP_P macros on library externs.

Fix install of ldap_schema.h to use $(srcdir)
This commit is contained in:
Kurt Zeilenga 1999-06-07 18:37:16 +00:00
parent 12ed7e46ef
commit 5632c11bd2
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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((

View File

@ -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 */