mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
constify 1st arg to register_at()/register_at(), needed for config.h rev 1.50
This commit is contained in:
parent
8027d8afb0
commit
9cdcd58afc
@ -1031,7 +1031,7 @@ at_schema_info( Entry *e )
|
||||
}
|
||||
|
||||
int
|
||||
register_at( char *def, AttributeDescription **rad, int dupok )
|
||||
register_at( const char *def, AttributeDescription **rad, int dupok )
|
||||
{
|
||||
LDAPAttributeType *at;
|
||||
int code, freeit = 0;
|
||||
|
@ -896,7 +896,7 @@ oc_schema_info( Entry *e )
|
||||
}
|
||||
|
||||
int
|
||||
register_oc( char *def, ObjectClass **soc, int dupok )
|
||||
register_oc( const char *def, ObjectClass **soc, int dupok )
|
||||
{
|
||||
LDAPObjectClass *oc;
|
||||
int code;
|
||||
|
@ -248,7 +248,7 @@ LDAP_SLAPD_F (void) at_unparse LDAP_P((
|
||||
BerVarray *bva, AttributeType *start, AttributeType *end, int system ));
|
||||
|
||||
LDAP_SLAPD_F (int) register_at LDAP_P((
|
||||
char *at,
|
||||
const char *at,
|
||||
AttributeDescription **ad,
|
||||
int dupok ));
|
||||
|
||||
@ -1368,7 +1368,7 @@ LDAP_SLAPD_F (void) oc_unparse LDAP_P((
|
||||
BerVarray *bva, ObjectClass *start, ObjectClass *end, int system ));
|
||||
|
||||
LDAP_SLAPD_F (int) register_oc LDAP_P((
|
||||
char *desc,
|
||||
const char *desc,
|
||||
ObjectClass **oc,
|
||||
int dupok ));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user