Fixed use of LDAP_F macro

See README 1.27 log
This commit is contained in:
Howard Chu 1999-10-28 07:29:25 +00:00
parent 0991e22550
commit 5438e045af
2 changed files with 12 additions and 3 deletions

View file

@ -105,8 +105,8 @@ typedef struct sockbuf_io Sockbuf_IO;
typedef struct sockbuf_sec Sockbuf_Sec;
typedef struct sockbuf_buf Sockbuf_Buf;
extern Sockbuf_IO ber_pvt_sb_io_tcp;
extern Sockbuf_IO ber_pvt_sb_io_udp;
LDAP_F( Sockbuf_IO ) ber_pvt_sb_io_tcp;
LDAP_F( Sockbuf_IO ) ber_pvt_sb_io_udp;
struct sockbuf {
@ -187,6 +187,15 @@ struct seqorset {
*/
#define ber_log_printf ber_pvt_log_printf
#ifdef __MINGW32__
# undef LDAP_F_PRE
# ifdef LIBLBER_DECL
# define LDAP_F_PRE extern __declspec(LIBLBER_DECL)
# else
# define LDAP_F_PRE extern
# endif
#endif
LDAP_F( int )
ber_log_bprint LDAP_P((
int errlvl,

View file

@ -271,7 +271,7 @@ struct ldap {
* in init.c
*/
extern struct ldapoptions ldap_int_global_options;
LDAP_F ( struct ldapoptions ) ldap_int_global_options;
void ldap_int_initialize LDAP_P((void));