mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Clean up some misplaced 'extern' declarations (should be headers)
This commit is contained in:
parent
01e81666ac
commit
b5504a1c36
4 changed files with 3 additions and 11 deletions
|
|
@ -20,9 +20,6 @@
|
|||
#include "lutil.h"
|
||||
#include "slap.h"
|
||||
|
||||
/* I guess this should be declared in ldap_pvt.h */
|
||||
extern void * ldap_pvt_tls_sb_ctx( Sockbuf *sb );
|
||||
|
||||
/* protected by connections_mutex */
|
||||
static ldap_pvt_thread_mutex_t connections_mutex;
|
||||
static Connection *connections = NULL;
|
||||
|
|
|
|||
|
|
@ -66,6 +66,7 @@ do { if (w) tcp_write( wake_sds[1], "0", 1 ); } while(0)
|
|||
|
||||
#ifdef HAVE_NT_SERVICE_MANAGER
|
||||
/* in nt_main.c */
|
||||
/* externs are frowned upon, but so is NT :-) */
|
||||
extern ldap_pvt_thread_cond_t started_event;
|
||||
extern int is_NT_Service;
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -28,10 +28,6 @@
|
|||
#define INQUOTEDVALUE 7
|
||||
#define B4SEPARATOR 8
|
||||
|
||||
/* schema_init.c */
|
||||
extern int
|
||||
dnNormalize( Syntax *syntax, struct berval *val, struct berval **normalized );
|
||||
|
||||
/*
|
||||
* dn_validate - validate and compress dn. the dn is
|
||||
* compressed in place are returned if valid.
|
||||
|
|
|
|||
|
|
@ -21,9 +21,6 @@
|
|||
#include "lutil.h"
|
||||
#include "ldif.h"
|
||||
|
||||
/* I guess this should be declared in ldap_pvt.h */
|
||||
extern int ldap_pvt_tls_init_def_ctx( void );
|
||||
|
||||
#ifdef LDAP_SIGCHLD
|
||||
static RETSIGTYPE wait4child( int sig );
|
||||
#endif
|
||||
|
|
@ -35,7 +32,8 @@ struct sockaddr_in bind_addr;
|
|||
/* in nt_main.c */
|
||||
LDAP_LUTIL_V(SERVICE_STATUS) SLAPDServiceStatus;
|
||||
LDAP_LUTIL_V(SERVICE_STATUS_HANDLE) hSLAPDServiceStatus;
|
||||
extern ldap_pvt_thread_cond_t started_event, stopped_event;
|
||||
/* externs are frowned upon, but so is NT :-) */
|
||||
extern ldap_pvt_thread_cond_t started_event, stopped_event;
|
||||
extern int is_NT_Service;
|
||||
|
||||
void CommenceStartupProcessing( LPCTSTR serverName,
|
||||
|
|
|
|||
Loading…
Reference in a new issue