find: missed 'ststic' on const data
authorDenis Vlasenko <vda.linux@googlemail.com>
Thu, 5 Apr 2007 00:35:43 +0000 (00:35 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Thu, 5 Apr 2007 00:35:43 +0000 (00:35 -0000)
findutils/find.c

index 9ca38c21afd6d1649ddcff644323e0bff78cc9e3..ff201e520662beff4a973264228e65bd34d6b2c3 100644 (file)
@@ -646,16 +646,17 @@ static action*** parse_params(char **argv)
 int find_main(int argc, char **argv);
 int find_main(int argc, char **argv)
 {
-       bool dereference = FALSE;
-       char *arg;
-       char **argp;
-       int i, firstopt, status = EXIT_SUCCESS;
-       const char * const options[] = {
+       static const char * const options[] = {
                "-follow",
 USE_FEATURE_FIND_XDEV( "-xdev", )
                NULL
        };
 
+       bool dereference = FALSE;
+       char *arg;
+       char **argp;
+       int i, firstopt, status = EXIT_SUCCESS;
+
        for (firstopt = 1; firstopt < argc; firstopt++) {
                if (argv[firstopt][0] == '-')
                        break;