find: missed 'ststic' on const data

This commit is contained in:
Denis Vlasenko 2007-04-05 00:35:43 +00:00
parent 56fce00fc7
commit 7d6c9296e7

View 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);
int find_main(int argc, char **argv) int find_main(int argc, char **argv)
{ {
bool dereference = FALSE; static const char * const options[] = {
char *arg;
char **argp;
int i, firstopt, status = EXIT_SUCCESS;
const char * const options[] = {
"-follow", "-follow",
USE_FEATURE_FIND_XDEV( "-xdev", ) USE_FEATURE_FIND_XDEV( "-xdev", )
NULL NULL
}; };
bool dereference = FALSE;
char *arg;
char **argp;
int i, firstopt, status = EXIT_SUCCESS;
for (firstopt = 1; firstopt < argc; firstopt++) { for (firstopt = 1; firstopt < argc; firstopt++) {
if (argv[firstopt][0] == '-') if (argv[firstopt][0] == '-')
break; break;