* prof_get.c (profile_iterator_create): NAMES argument points to const pointers.
authorKen Raeburn <raeburn@mit.edu>
Sat, 20 Dec 2003 03:25:05 +0000 (03:25 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 20 Dec 2003 03:25:05 +0000 (03:25 +0000)
* profile.hin (profile_iterator_create): Declaration updated.

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

src/util/profile/ChangeLog
src/util/profile/prof_get.c
src/util/profile/profile.hin

index d826e31142be28c7685a7708899af9ce3b078b36..efc822b989e14e6e6cf935d8f739c5441bc0c0b7 100644 (file)
@@ -1,3 +1,9 @@
+2003-12-19  Ken Raeburn  <raeburn@mit.edu>
+
+       * prof_get.c (profile_iterator_create): NAMES argument points to
+       const pointers.
+       * profile.hin (profile_iterator_create): Declaration updated.
+
 2003-12-14 Jeffrey Altman <jaltman@mit.edu>
 
    * all files: move prof-int.h to be the first include file
index 80a18a1fc5b63686c734a08658d24e0b8351fb50..07ebfd8704c76ee1d0da8baaef78170292e6e8fc 100644 (file)
@@ -438,7 +438,7 @@ cleanup:
 errcode_t KRB5_CALLCONV
 profile_iterator_create(profile, names, flags, ret_iter)
        profile_t       profile;
-       const char      **names;
+       const char      *const *names;
        int             flags;
        void            **ret_iter;
 {
index 581ee10bf90abce7c52384a6533f11fc16ee0ef0..b4105d6ff99a194da40377e6c30747c53c9ada51 100644 (file)
@@ -87,7 +87,7 @@ long KRB5_CALLCONV profile_get_subsection_names
        (profile_t profile, const char **names, char ***ret_names);
 
 long KRB5_CALLCONV profile_iterator_create
-       (profile_t profile, const char **names,
+       (profile_t profile, const char *const *names,
                   int flags, void **ret_iter);
 
 void KRB5_CALLCONV profile_iterator_free