Commit 463cc547 authored by Mark Valence's avatar Mark Valence
Browse files

Update some prototype macros to build on NT.

parent 3b42f9ce
......@@ -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 )
......
......@@ -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 */
......
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment