* plugins.c (krb5int_get_plugin_filenames): Make extention array static and const
authorKen Raeburn <raeburn@mit.edu>
Fri, 5 May 2006 03:46:09 +0000 (03:46 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 5 May 2006 03:46:09 +0000 (03:46 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17981 dc483132-0cff-0310-8789-dd5450dbe970

src/util/support/plugins.c

index 41afbf1ffd836f297d50580f44d1c6d103c8c8ff..1c6c5338dec7b0c2336f0151e2af245d8529d517 100644 (file)
@@ -357,7 +357,7 @@ static long
 krb5int_get_plugin_filenames (const char * const *filebases, char ***filenames)
 {
     long err = 0;
-    const char *fileexts[] = FILEEXTS;
+    static const char *const fileexts[] = FILEEXTS;
     char **tempnames = NULL;
     int i;