need to play with function declarations for ANSI prototypes
authorJohn Kohl <jtkohl@mit.edu>
Thu, 8 Feb 1990 09:58:47 +0000 (09:58 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Thu, 8 Feb 1990 09:58:47 +0000 (09:58 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@317 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/encode_kdc.c

index f04b7045d79872285eaf2789a3454e1e88b70065..c176f49d32a2a563644e71ea8af36dec2af84dce 100644 (file)
@@ -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;