Clean up some misplaced 'extern' declarations (should be headers)

This commit is contained in:
Kurt Zeilenga 2001-12-04 19:57:09 +00:00
parent 01e81666ac
commit b5504a1c36
4 changed files with 3 additions and 11 deletions

View file

@ -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;

View file

@ -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

View file

@ -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.

View file

@ -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,