From: Ken Raeburn Date: Mon, 19 Jun 2006 23:33:36 +0000 (+0000) Subject: Make local const array of structures static too X-Git-Tag: krb5-1.6-alpha1~292 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=93bbe1f67ed5b80da83704243837bb366560e95a;p=krb5.git Make local const array of structures static too ticket: 3276 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18165 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/kadm5/logger.c b/src/lib/kadm5/logger.c index 24d845162..e9c7bfd49 100644 --- a/src/lib/kadm5/logger.c +++ b/src/lib/kadm5/logger.c @@ -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[] = {