From 5b7ae1b008c286801ea203a703df65bfe65ad08f Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Sat, 20 Dec 2003 03:25:58 +0000 Subject: [PATCH] * realm_iter.c (krb5_realm_iterator_create): Array NAMES is now const git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15954 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/os/ChangeLog | 3 +++ src/lib/krb5/os/realm_iter.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index 14d7635a6..a916ef171 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,5 +1,8 @@ 2003-12-19 Ken Raeburn + * realm_iter.c (krb5_realm_iterator_create): Array NAMES is now + const. + * prompter.c (catch_signals, restore_signals): Take pointer to old signal handler info as new argument. (osiginfo): New typedef. diff --git a/src/lib/krb5/os/realm_iter.c b/src/lib/krb5/os/realm_iter.c index 26b22248e..0beaa2f46 100644 --- a/src/lib/krb5/os/realm_iter.c +++ b/src/lib/krb5/os/realm_iter.c @@ -33,7 +33,7 @@ krb5_error_code KRB5_CALLCONV krb5_realm_iterator_create(krb5_context context, void **iter_p) { - static const char *names[] = { "realms", 0 }; + static const char *const names[] = { "realms", 0 }; return profile_iterator_create(context->profile, names, PROFILE_ITER_LIST_SECTION | -- 2.26.2