Use LDAP_CONST, not const, in public function declarations.

This commit is contained in:
Kurt Zeilenga 2000-02-01 01:11:26 +00:00
parent 3a6e906194
commit 0919e503cd

View file

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