* realm_iter.c (krb5_realm_iterator_create): Array NAMES is now const
authorKen Raeburn <raeburn@mit.edu>
Sat, 20 Dec 2003 03:25:58 +0000 (03:25 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 20 Dec 2003 03:25:58 +0000 (03:25 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15954 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/ChangeLog
src/lib/krb5/os/realm_iter.c

index 14d7635a6901530eabfbaab6bebedfa84ec35291..a916ef171355842ee1668a3baa4ffd992b78d6e6 100644 (file)
@@ -1,5 +1,8 @@
 2003-12-19  Ken Raeburn  <raeburn@mit.edu>
 
+       * 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.
index 26b22248eeb81788dadd6caebe9c2f1860af0ec0..0beaa2f464bf16173a7bbb6d66fd323a9dae9a28 100644 (file)
@@ -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 |