Don't use 'void *' unnecessarily.

This commit is contained in:
Kurt Zeilenga 2002-01-07 20:28:02 +00:00
parent c4902e88d5
commit e9342bc7a9
2 changed files with 5 additions and 5 deletions

View file

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

View file

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