From: Ken Raeburn Date: Sat, 20 Dec 2003 03:25:05 +0000 (+0000) Subject: * prof_get.c (profile_iterator_create): NAMES argument points to const pointers. X-Git-Tag: krb5-1.4-beta1~679 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c7d28165d3fdf19842d5a8729c2c3507c7cb8839;p=krb5.git * 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 --- 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