Update some prototype macros to build on NT.

This commit is contained in:
Mark Valence 2000-06-19 22:40:42 +00:00
parent 3b42f9ce2e
commit 463cc5479f
3 changed files with 4 additions and 4 deletions

View File

@ -92,7 +92,7 @@
#define sock_errno() WSAGetLastError()
#define sock_errstr(e) ber_pvt_wsa_err2string(e)
LIBLBER_F (char *) ber_pvt_wsa_err2string LDAP_P((int));
LBER_F( char * ) ber_pvt_wsa_err2string LDAP_P((int));
#elif MACOS
# define tcp_close( s ) tcpclose( s )

View File

@ -37,7 +37,7 @@ LDAP_LIBC_F(char*)(getpass)();
#else
#define NEED_GETPASSPHRASE 1
#define getpassphrase(p) lutil_getpass(p)
LIBLUTIL_F(char*)(lutil_getpass) LDAP_P((const char *getpass));
LDAP_LUTIL_F(char*)(lutil_getpass) LDAP_P((const char *getpass));
#endif
/* getopt() defines may be in separate include file */

View File

@ -28,8 +28,8 @@ static RETSIGTYPE wait4child( int sig );
struct sockaddr_in bind_addr;
/* in nt_main.c */
LIBLUTIL_F (SERVICE_STATUS) SLAPDServiceStatus;
LIBLUTIL_F (SERVICE_STATUS_HANDLE) hSLAPDServiceStatus;
LDAP_LUTIL_F(SERVICE_STATUS) SLAPDServiceStatus;
LDAP_LUTIL_F(SERVICE_STATUS_HANDLE) hSLAPDServiceStatus;
extern ldap_pvt_thread_cond_t started_event, stopped_event;
extern int is_NT_Service;