add const to function signatures as appropriate
authorJohn Kohl <jtkohl@mit.edu>
Wed, 18 Apr 1990 17:37:50 +0000 (17:37 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Wed, 18 Apr 1990 17:37:50 +0000 (17:37 +0000)
rearrange args to follow in,inout,out ordering

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@494 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/encode_kdc.c

index 8e761d409a591e866fa95709e16e3199b021a8ac..63266a602ac33528e89e54a5a73124cc161ffe04 100644 (file)
@@ -38,15 +38,15 @@ static char rcsid_encode_kdc_c [] =
 */
 /* due to promotion rules, we need to play with this... */
 krb5_error_code
-krb5_encode_kdc_rep(DECLARG(krb5_msgtype, type),
+krb5_encode_kdc_rep(DECLARG(const krb5_msgtype, type),
+                   DECLARG(const register krb5_enc_kdc_rep_part *, encpart),
+                   DECLARG(const krb5_keyblock *, client_key),
                    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(const krb5_msgtype, type)
+OLDDECLARG(const register krb5_enc_kdc_rep_part *, encpart)
+OLDDECLARG(const krb5_keyblock *, client_key)
 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;