Make local const array of structures static too
authorKen Raeburn <raeburn@mit.edu>
Mon, 19 Jun 2006 23:33:36 +0000 (23:33 +0000)
committerKen Raeburn <raeburn@mit.edu>
Mon, 19 Jun 2006 23:33:36 +0000 (23:33 +0000)
ticket: 3276

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18165 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/kadm5/logger.c

index 24d845162be4da7332bd7137f10bd683da3265c7..e9c7bfd496671afceae6c782b327455fd9f5a688 100644 (file)
@@ -510,7 +510,7 @@ krb5_klog_init(krb5_context kcontext, char *ename, char *whoami, krb5_boolean do
                         * If there is a facility present, then parse that.
                         */
                        if (cp2) {
-                           const struct {
+                           static const struct {
                                const char *name;
                                int value;
                            } facilities[] = {