From: John Kohl Date: Thu, 8 Feb 1990 10:05:39 +0000 (+0000) Subject: undo promotion confusion (need to use new-style declarations in .c files) X-Git-Tag: krb5-1.0-alpha2~1066 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0d5de2fd5d3bc1f312bdb4b689a535d538e17727;p=krb5.git undo promotion confusion (need to use new-style declarations in .c files) rearrange krb5_kdc_rep_decrypt_proc args to put INOUT at end git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@318 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/krb5/func-proto.h b/src/include/krb5/func-proto.h index 5f311d166..aa05be812 100644 --- a/src/include/krb5/func-proto.h +++ b/src/include/krb5/func-proto.h @@ -19,7 +19,7 @@ /* libkrb.spec */ krb5_error_code krb5_encode_kdc_rep - PROTOTYPE((int, /* promotion rules require this */ + PROTOTYPE((krb5_msgtype, krb5_kdc_rep *, krb5_enc_kdc_rep_part *, krb5_keyblock *, @@ -27,12 +27,12 @@ krb5_error_code krb5_encode_kdc_rep krb5_error_code krb5_decode_kdc_rep PROTOTYPE((krb5_data *, krb5_keyblock *, - int, /* promotion rules require this */ + krb5_enctype, krb5_kdc_rep ** )); krb5_error_code krb5_kdc_rep_decrypt_proc - PROTOTYPE((krb5_kdc_rep *, - krb5_keyblock *, - krb5_pointer )); + PROTOTYPE((krb5_keyblock *, + krb5_pointer, + krb5_kdc_rep * )); krb5_error_code krb5_encode_ticket PROTOTYPE((krb5_ticket *, krb5_data ** )); @@ -118,7 +118,7 @@ krb5_error_code krb5_rd_req krb5_pointer, krb5_error_code (* )(krb5_pointer, krb5_principal, - unsigned, /* promotion of kvno */ + krb5_kvno, krb5_keyblock ** ), krb5_pointer, krb5_rcache, @@ -130,7 +130,7 @@ krb5_error_code krb5_rd_req_decoded krb5_pointer, krb5_error_code (* )(krb5_pointer, krb5_principal, - unsigned, /* promotion of kvno */ + krb5_kvno, krb5_keyblock ** ), krb5_pointer, krb5_rcache,