From: Kurt Zeilenga Date: Wed, 26 Dec 2001 16:52:26 +0000 (+0000) Subject: Remove lint. X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~493 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=139e78e35c870bb1e53f20555747be83d546b2be;p=openldap Remove lint. --- diff --git a/servers/slapd/charray.c b/servers/slapd/charray.c index 9476616c12..6c0e87fffb 100644 --- a/servers/slapd/charray.c +++ b/servers/slapd/charray.c @@ -286,7 +286,7 @@ charray_strcasecmp( const char **a1, const char **a2 ) char * slap_strcopy( char *a, - char *b + const char *b ) { if (!a || !b) diff --git a/servers/slapd/proto-slap.h b/servers/slapd/proto-slap.h index 9d9b7638bd..547e5e92d5 100644 --- a/servers/slapd/proto-slap.h +++ b/servers/slapd/proto-slap.h @@ -271,11 +271,16 @@ LDAP_SLAPD_F (void) charray_free LDAP_P(( char **array )); LDAP_SLAPD_F (int) charray_inlist LDAP_P(( char **a, const char *s )); LDAP_SLAPD_F (char **) charray_dup LDAP_P(( char **a )); LDAP_SLAPD_F (char **) str2charray LDAP_P(( const char *str, const char *brkstr )); -LDAP_SLAPD_F (struct berval **) str2bvec LDAP_P(( struct berval **vec, const char *str, const char *brkstr )); +LDAP_SLAPD_F (struct berval **) str2bvec LDAP_P(( struct berval **vec, + const char *str, const char *brkstr )); LDAP_SLAPD_F (int) charray_strcmp LDAP_P(( const char **a1, const char **a2 )); LDAP_SLAPD_F (int) charray_strcasecmp LDAP_P(( const char **a1, const char **a2 )); -LDAP_SLAPD_F (char *) slap_strcopy LDAP_P(( char *a1, char *a2 )); - + +LDAP_SLAPD_F (char *) slap_strcopy LDAP_P(( + char *dst, const char *src )); +LDAP_SLAPD_F (int) bvec_inlist LDAP_P(( + struct berval **a, + struct berval *s )); /* * controls.c