mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-31 03:59:34 -05:00
Include ldif.h to pickup declaration of str_getline()
Fix pointer truncation to int by including prototypes in forward declarations.
This commit is contained in:
parent
f1fde41ff8
commit
c32792b489
3 changed files with 6 additions and 11 deletions
|
|
@ -9,15 +9,14 @@
|
|||
#include "../back-ldbm/back-ldbm.h"
|
||||
|
||||
#include "ldapconfig.h"
|
||||
#include "ldif.h"
|
||||
|
||||
#define MAXARGS 100
|
||||
|
||||
extern struct dbcache *ldbm_cache_open();
|
||||
extern void attr_index_config();
|
||||
extern char *str_getline();
|
||||
extern char *dn_parent();
|
||||
extern char *dn_normalize_case();
|
||||
extern int strcasecmp();
|
||||
extern int nbackends;
|
||||
extern Backend *backends;
|
||||
extern int ldap_debug;
|
||||
|
|
@ -43,8 +42,6 @@ pthread_mutex_t replog_mutex;
|
|||
pthread_mutex_t ops_mutex;
|
||||
pthread_mutex_t regex_mutex;
|
||||
|
||||
static int make_index();
|
||||
|
||||
static char *tailorfile;
|
||||
static char *inputfile;
|
||||
|
||||
|
|
|
|||
|
|
@ -8,11 +8,11 @@
|
|||
#include "../slap.h"
|
||||
|
||||
#include "ldapconfig.h"
|
||||
#include "ldif.h"
|
||||
|
||||
#define MAXARGS 100
|
||||
|
||||
extern void attr_index_config();
|
||||
extern char *str_getline();
|
||||
extern char *attr_normalize();
|
||||
extern int nbackends;
|
||||
extern Backend *backends;
|
||||
|
|
|
|||
|
|
@ -10,17 +10,15 @@
|
|||
#include "../slap.h"
|
||||
#include "../back-ldbm/back-ldbm.h"
|
||||
#include "ldapconfig.h"
|
||||
#include "ldif.h"
|
||||
|
||||
#define INDEXCMD "ldif2index"
|
||||
#define ID2ENTRYCMD "ldif2id2entry"
|
||||
#define ID2CHILDRENCMD "ldif2id2children"
|
||||
#define MAXARGS 100
|
||||
|
||||
extern void attr_index_config();
|
||||
extern char *str_getline();
|
||||
extern int strcasecmp();
|
||||
extern int nbackends;
|
||||
extern Backend *backends;
|
||||
extern Backend *backends;
|
||||
extern int ldap_debug;
|
||||
|
||||
int ldap_debug;
|
||||
|
|
@ -43,8 +41,8 @@ pthread_mutex_t replog_mutex;
|
|||
pthread_mutex_t ops_mutex;
|
||||
pthread_mutex_t regex_mutex;
|
||||
|
||||
static void fork_child();
|
||||
static void wait4kids();
|
||||
static void fork_child( char *prog, char *args[] );
|
||||
static void wait4kids( int nkidval );
|
||||
|
||||
static char *indexcmd;
|
||||
static char *tailorfile;
|
||||
|
|
|
|||
Loading…
Reference in a new issue