mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-04-06 15:00:40 +08:00
Use LDAP_F/LDAP_P macros on library externs.
Fix install of ldap_schema.h to use $(srcdir)
This commit is contained in:
parent
12ed7e46ef
commit
5632c11bd2
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user