From 0919e503cdb370d54b6d4a0caa15b6605980c34e Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 1 Feb 2000 01:11:26 +0000 Subject: [PATCH] Use LDAP_CONST, not const, in public function declarations. --- libraries/libldap/sort.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.39.5