mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-04-12 15:10:31 +08:00
Make string parameter to ldap_charray_add() and ldap_charray_inlist() const.
This commit is contained in:
parent
fa915adb5b
commit
6d59c23c55
@ -82,7 +82,7 @@ ldap_pvt_get_hname LDAP_P((
|
||||
LDAP_F( int )
|
||||
ldap_charray_add LDAP_P((
|
||||
char ***a,
|
||||
char *s ));
|
||||
const char *s ));
|
||||
|
||||
LDAP_F( int )
|
||||
ldap_charray_merge LDAP_P((
|
||||
@ -95,7 +95,7 @@ ldap_charray_free LDAP_P(( char **a ));
|
||||
LDAP_F( int )
|
||||
ldap_charray_inlist LDAP_P((
|
||||
char **a,
|
||||
char *s ));
|
||||
const char *s ));
|
||||
|
||||
LDAP_F( char ** )
|
||||
ldap_charray_dup LDAP_P(( char **a ));
|
||||
|
@ -17,7 +17,7 @@
|
||||
int
|
||||
ldap_charray_add(
|
||||
char ***a,
|
||||
char *s
|
||||
const char *s
|
||||
)
|
||||
{
|
||||
int n;
|
||||
@ -120,7 +120,7 @@ ldap_charray_free( char **a )
|
||||
int
|
||||
ldap_charray_inlist(
|
||||
char **a,
|
||||
char *s
|
||||
const char *s
|
||||
)
|
||||
{
|
||||
int i;
|
||||
|
Loading…
x
Reference in New Issue
Block a user