keytype is now const
authorJohn Kohl <jtkohl@mit.edu>
Thu, 19 Apr 1990 11:00:04 +0000 (11:00 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Thu, 19 Apr 1990 11:00:04 +0000 (11:00 +0000)
fix const for **'s

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

src/lib/krb5/krb/in_tkt_pwd.c
src/lib/krb5/krb/in_tkt_sky.c

index b3043a8716ccb1f61cb366c00776da8a5929939c..460455b589b7eefbc86173aca2ee9f6803ba9fb5 100644 (file)
@@ -31,10 +31,10 @@ struct pwd_keyproc_arg {
  */
 
 static krb5_error_code
-pwd_keyproc(DECLARG(krb5_keytype, type),
+pwd_keyproc(DECLARG(const krb5_keytype, type),
            DECLARG(krb5_keyblock **, key),
            DECLARG(krb5_pointer, keyseed))
-OLDDECLARG(krb5_keytype, type)
+OLDDECLARG(const krb5_keytype, type)
 OLDDECLARG(krb5_keyblock **, key)
 OLDDECLARG(krb5_pointer, keyseed)
 {
@@ -81,14 +81,14 @@ OLDDECLARG(krb5_pointer, keyseed)
  */
 krb5_error_code
 krb5_get_in_tkt_with_password(DECLARG(const krb5_flags, options),
-                             DECLARG(const krb5_address **, addrs),
+                             DECLARG(krb5_address * const *, addrs),
                              DECLARG(const krb5_enctype, etype),
                              DECLARG(const krb5_keytype, keytype),
                              DECLARG(const char *, password),
                              DECLARG(krb5_ccache, ccache),
                              DECLARG(krb5_creds *, creds))
 OLDDECLARG(const krb5_flags, options)
-OLDDECLARG(const krb5_address **, addrs)
+OLDDECLARG(krb5_address * const *, addrs)
 OLDDECLARG(const krb5_enctype, etype)
 OLDDECLARG(const krb5_keytype, keytype)
 OLDDECLARG(const char *, password)
index ba20fb1f2d585edd84ba09d3f24d7d1eebf3df9a..ad3a92ebeb1537390e34504ed54c09ee5821d247 100644 (file)
@@ -35,10 +35,10 @@ struct skey_keyproc_arg {
  * from system area.
  */
 static krb5_error_code
-skey_keyproc(DECLARG(krb5_keytype, type),
+skey_keyproc(DECLARG(const krb5_keytype, type),
             DECLARG(krb5_keyblock **, key),
             DECLARG(krb5_pointer, keyseed))
-OLDDECLARG(krb5_keytype, type)
+OLDDECLARG(const krb5_keytype, type)
 OLDDECLARG(krb5_keyblock **, key)
 OLDDECLARG(krb5_pointer, keyseed)
 {
@@ -116,13 +116,13 @@ OLDDECLARG(krb5_pointer, keyseed)
  */
 krb5_error_code
 krb5_get_in_tkt_with_skey(DECLARG(const krb5_flags, options),
-                         DECLARG(const krb5_address **, addrs),
+                         DECLARG(krb5_address * const *, addrs),
                          DECLARG(const krb5_enctype, etype),
                          DECLARG(const krb5_keyblock *,key),
                          DECLARG(krb5_ccache, ccache),
                          DECLARG(krb5_creds *,creds))
 OLDDECLARG(const krb5_flags, options)
-OLDDECLARG(const krb5_address **, addrs)
+OLDDECLARG(krb5_address * const *, addrs)
 OLDDECLARG(const krb5_enctype, etype)
 OLDDECLARG(const krb5_keyblock *,key)
 OLDDECLARG(krb5_ccache, ccache)