Commit 77ea15ad authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Import lint removal from devel.

parent 8fff3987
......@@ -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>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment