From: Kurt Zeilenga Date: Tue, 1 Feb 2000 01:11:26 +0000 (+0000) Subject: Use LDAP_CONST, not const, in public function declarations. X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~3208 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0919e503cdb370d54b6d4a0caa15b6605980c34e;p=openldap Use LDAP_CONST, not const, in public function declarations. --- diff --git a/libraries/libldap/sort.c b/libraries/libldap/sort.c index c62961b773..d35eec1b40 100644 --- a/libraries/libldap/sort.c +++ b/libraries/libldap/sort.c @@ -40,8 +40,8 @@ static int et_cmp LDAP_P(( const void *aa, const void *bb)); int ldap_sort_strcasecmp( - const void *a, - const void *b + LDAP_CONST void *a, + LDAP_CONST void *b ) { return( strcasecmp( *(char *const *)a, *(char *const *)b ) ); @@ -147,7 +147,7 @@ int ldap_sort_values( LDAP *ld, char **vals, - int (*cmp) (const void *, const void *) + int (*cmp) (LDAP_CONST void *, LDAP_CONST void *) ) { int nel;