mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Don't use 'void *' unnecessarily.
This commit is contained in:
parent
c4902e88d5
commit
e9342bc7a9
2 changed files with 5 additions and 5 deletions
|
|
@ -35,13 +35,13 @@ static int ad_keystring(
|
|||
return 0;
|
||||
}
|
||||
|
||||
void ad_destroy( void *in )
|
||||
void ad_destroy( AttributeDescription *ad )
|
||||
{
|
||||
AttributeDescription *ad = in, *n;
|
||||
AttributeDescription *n;
|
||||
|
||||
for (;ad;ad = n) {
|
||||
for (; ad != NULL; ad = n) {
|
||||
n = ad->ad_next;
|
||||
ldap_memfree(ad);
|
||||
ldap_memfree( ad );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -729,7 +729,7 @@ LDAP_SLAPD_F (int) syn_schema_info( Entry *e );
|
|||
LDAP_SLAPD_F (void) oc_destroy LDAP_P(( void ));
|
||||
LDAP_SLAPD_F (void) oidm_destroy LDAP_P(( void ));
|
||||
LDAP_SLAPD_F (void) at_destroy LDAP_P(( void ));
|
||||
LDAP_SLAPD_F (void) ad_destroy LDAP_P(( void * ));
|
||||
LDAP_SLAPD_F (void) ad_destroy LDAP_P(( AttributeDescription * ));
|
||||
LDAP_SLAPD_F (void) mr_destroy LDAP_P(( void ));
|
||||
LDAP_SLAPD_F (void) syn_destroy LDAP_P(( void ));
|
||||
LDAP_SLAPD_F (void) schema_destroy LDAP_P(( void ));
|
||||
|
|
|
|||
Loading…
Reference in a new issue