diff options
author | Ken Raeburn <raeburn@mit.edu> | 2003-12-20 03:25:05 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2003-12-20 03:25:05 +0000 |
commit | c7d28165d3fdf19842d5a8729c2c3507c7cb8839 (patch) | |
tree | 490eba894a65a381bc229fd873f874c0ed6cf7fb /src/util | |
parent | 6d4efef72455f2d4b9cd9a954acd724e02192f2a (diff) | |
download | krb5-c7d28165d3fdf19842d5a8729c2c3507c7cb8839.tar.gz krb5-c7d28165d3fdf19842d5a8729c2c3507c7cb8839.tar.xz krb5-c7d28165d3fdf19842d5a8729c2c3507c7cb8839.zip |
* prof_get.c (profile_iterator_create): NAMES argument points to const pointers.
* profile.hin (profile_iterator_create): Declaration updated.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15953 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/profile/ChangeLog | 6 | ||||
-rw-r--r-- | src/util/profile/prof_get.c | 2 | ||||
-rw-r--r-- | src/util/profile/profile.hin | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/src/util/profile/ChangeLog b/src/util/profile/ChangeLog index d826e31142..efc822b989 100644 --- a/src/util/profile/ChangeLog +++ b/src/util/profile/ChangeLog @@ -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 diff --git a/src/util/profile/prof_get.c b/src/util/profile/prof_get.c index 80a18a1fc5..07ebfd8704 100644 --- a/src/util/profile/prof_get.c +++ b/src/util/profile/prof_get.c @@ -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; { diff --git a/src/util/profile/profile.hin b/src/util/profile/profile.hin index 581ee10bf9..b4105d6ff9 100644 --- a/src/util/profile/profile.hin +++ b/src/util/profile/profile.hin @@ -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 |