#define setup_buf_only(cr)\
asn1_error_code retval;\
asn1buf buf;\
-int (*error_cleanup)() = cr;\
+void (*error_cleanup)() = cr;\
\
retval = asn1buf_wrap_data(&buf,code);\
if(retval) return retval
#define free_field(rep,f) if (rep->f) free(rep->f)
#define clear_field(rep,f) (*rep)->f = 0
-static clean_krb5_authenticator(rep)
+
+static void clean_krb5_authenticator(rep)
krb5_authenticator *rep;
{
free_field(rep,subkey);
cleanup();
}
-static clean_krb5_ticket(rep)
+static void clean_krb5_ticket(rep)
krb5_ticket *rep;
{
free_field(rep,server);
cleanup();
}
-static clean_krb5_enc_tkt_part(rep)
+static void clean_krb5_enc_tkt_part(rep)
krb5_enc_tkt_part * rep;
{
free_field(rep,session);
cleanup();
}
-static clean_krb5_ap_req(rep)
+static void clean_krb5_ap_req(rep)
krb5_ap_req * rep;
{
free_field(rep,ticket);
cleanup();
}
-static clean_krb5_ap_rep_enc_part(rep)
+static void clean_krb5_ap_rep_enc_part(rep)
krb5_ap_rep_enc_part * rep;
{
free_field(rep,subkey);
cleanup();
}
-static clean_krb5_safe(rep)
+static void clean_krb5_safe(rep)
krb5_safe * rep;
{
free_field(rep,checksum);
cleanup();
}
-static clean_krb5_priv_enc_part(rep)
+static void clean_krb5_priv_enc_part(rep)
krb5_priv_enc_part * rep;
{
free_field(rep,r_address);
cleanup();
}
-static clean_krb5_cred_enc_part(rep)
+static void clean_krb5_cred_enc_part(rep)
krb5_cred_enc_part * rep;
{
free_field(rep,r_address);
}
-static clean_krb5_error(rep)
+static void clean_krb5_error(rep)
krb5_error * rep;
{
free_field(rep,server);