From: John Kohl Date: Wed, 18 Apr 1990 17:37:50 +0000 (+0000) Subject: add const to function signatures as appropriate X-Git-Tag: krb5-1.0-alpha2~901 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1d99ba8703cbee8fa896da1050b89ec3fc132c4d;p=krb5.git add const to function signatures as appropriate rearrange args to follow in,inout,out ordering git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@494 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/encode_kdc.c b/src/lib/krb5/krb/encode_kdc.c index 8e761d409..63266a602 100644 --- a/src/lib/krb5/krb/encode_kdc.c +++ b/src/lib/krb5/krb/encode_kdc.c @@ -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;