mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-11-27 02:22:00 +08:00
Import lint removal from devel.
This commit is contained in:
parent
8fff3987ac
commit
77ea15adb1
@ -256,7 +256,8 @@ int lock_fclose LDAP_P(( FILE *fp, FILE *lfp ));
|
||||
*/
|
||||
|
||||
#ifdef SLAPD_MODULES
|
||||
int load_module LDAP_P(( const char* file_name, int argc, char *argv[] ));
|
||||
int module_load LDAP_P(( const char* file_name, int argc, char *argv[] ));
|
||||
int module_path LDAP_P(( const char* path ));
|
||||
#endif /* SLAPD_MODULES */
|
||||
|
||||
/*
|
||||
@ -376,6 +377,7 @@ int is_entry_objectclass LDAP_P(( Entry *, char* objectclass ));
|
||||
void parse_oc_old LDAP_P(( Backend *be, char *fname, int lineno, int argc, char **argv ));
|
||||
void parse_oc LDAP_P(( char *fname, int lineno, char *line, char **argv ));
|
||||
void parse_at LDAP_P(( char *fname, int lineno, char *line, char **argv ));
|
||||
void parse_oidm LDAP_P(( char *fname, int lineno, int argc, char **argv ));
|
||||
char *scherr2str LDAP_P((int code));
|
||||
int dscompare LDAP_P(( char *s1, char *s2del, char delim ));
|
||||
/*
|
||||
|
@ -565,7 +565,7 @@ syn_find_desc( const char *syndesc, int *len )
|
||||
Syntax *synp;
|
||||
|
||||
for (synp = syn_list; synp; synp = synp->ssyn_next)
|
||||
if ((*len = dscompare( synp->ssyn_syn.syn_desc, syndesc, '{')))
|
||||
if ((*len = dscompare( synp->ssyn_syn.syn_desc, (char *)syndesc, '{')))
|
||||
return synp;
|
||||
return( NULL );
|
||||
}
|
||||
|
@ -8,6 +8,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <ac/ctype.h>
|
||||
#include <ac/string.h>
|
||||
#include <ac/socket.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user