From: John Kohl Date: Thu, 8 Feb 1990 09:58:47 +0000 (+0000) Subject: need to play with function declarations for ANSI prototypes X-Git-Tag: krb5-1.0-alpha2~1067 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ab33703c807676d65329b653543ed108c01f8088;p=krb5.git need to play with function declarations for ANSI prototypes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@317 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/encode_kdc.c b/src/lib/krb5/krb/encode_kdc.c index f04b7045d..c176f49d3 100644 --- a/src/lib/krb5/krb/encode_kdc.c +++ b/src/lib/krb5/krb/encode_kdc.c @@ -36,13 +36,18 @@ static char rcsid_encode_kdc_c [] = dec_rep->enc_part is allocated and filled in. */ +/* due to promotion rules, we need to play with this... */ krb5_error_code -krb5_encode_kdc_rep(type, dec_rep, encpart, client_key, enc_rep) -krb5_msgtype type; -register krb5_kdc_rep *dec_rep; -register krb5_enc_kdc_rep_part *encpart; -krb5_keyblock *client_key; -krb5_data **enc_rep; +krb5_encode_kdc_rep(DECLARG(krb5_msgtype, type), + DECLARG(register krb5_kdc_rep *, dec_rep), + DECLARG(register krb5_enc_kdc_rep_part *, encpart), + DECLARG(krb5_keyblock *, client_key), + DECLARG(krb5_data **, enc_rep)) +OLDDECLARG(krb5_msgtype, type) +OLDDECLARG(register krb5_kdc_rep *, dec_rep) +OLDDECLARG(register krb5_enc_kdc_rep_part *, encpart) +OLDDECLARG(krb5_keyblock *, client_key) +OLDDECLARG(krb5_data **, enc_rep) { krb5_data *scratch; krb5_encrypt_block eblock;