From c7d28165d3fdf19842d5a8729c2c3507c7cb8839 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Sat, 20 Dec 2003 03:25:05 +0000 Subject: [PATCH] * 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 --- src/util/profile/ChangeLog | 6 ++++++ src/util/profile/prof_get.c | 2 +- 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 d826e3114..efc822b98 100644 --- a/src/util/profile/ChangeLog +++ b/src/util/profile/ChangeLog @@ -1,3 +1,9 @@ +2003-12-19 Ken Raeburn + + * prof_get.c (profile_iterator_create): NAMES argument points to + const pointers. + * profile.hin (profile_iterator_create): Declaration updated. + 2003-12-14 Jeffrey Altman * 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 80a18a1fc..07ebfd870 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 581ee10bf..b4105d6ff 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 -- 2.26.2