Import lint removal from devel.

This commit is contained in:
Kurt Zeilenga 1999-08-20 00:06:58 +00:00
parent 8fff3987ac
commit 77ea15adb1
3 changed files with 5 additions and 2 deletions

View File

@ -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 ));
/*

View File

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

View File

@ -8,6 +8,7 @@
#include <stdio.h>
#include <ac/ctype.h>
#include <ac/string.h>
#include <ac/socket.h>