creds can't be const (passed to non-const later)
authorJohn Kohl <jtkohl@mit.edu>
Thu, 19 Apr 1990 11:13:27 +0000 (11:13 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Thu, 19 Apr 1990 11:13:27 +0000 (11:13 +0000)
fix const on **'s

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

src/lib/krb5/krb/gc_via_tgt.c

index e9cb15cdd8d501b8898670cf23f65cbdfb94ea6f..37ecf53cbdc5815c9047d89963907af1946eb239 100644 (file)
@@ -27,17 +27,17 @@ static char rcsid_gcvtgt_c[] =
 #include "int-proto.h"
 
 krb5_error_code
-krb5_get_cred_via_tgt (DECLARG(const krb5_creds *, tgt),
+krb5_get_cred_via_tgt (DECLARG(krb5_creds *, tgt),
                       DECLARG(const krb5_flags, kdcoptions),
                       DECLARG(const krb5_enctype, etype),
                       DECLARG(const krb5_cksumtype, sumtype),
-                      DECLARG(const krb5_address **, addrs),
+                      DECLARG(krb5_address * const *, addrs),
                       DECLARG(krb5_creds *, cred))
-OLDDECLARG(const krb5_creds *, tgt)
+OLDDECLARG(krb5_creds *, tgt)
 OLDDECLARG(const krb5_flags, kdcoptions)
 OLDDECLARG(const krb5_enctype, etype)
 OLDDECLARG(const krb5_cksumtype, sumtype)
-OLDDECLARG(const krb5_address **, addrs)
+OLDDECLARG(krb5_address * const *, addrs)
 OLDDECLARG(krb5_creds *, cred)
 {
     krb5_error_code retval;