diff --git a/scripts/basic/fixdep.c b/scripts/basic/fixdep.c index c68fd61fdc42e11f7d4963c9e10a8f7462b3f63f..5b327c67a828dd45889f98cfac8f2a8f3e1e4c64 100644 --- a/scripts/basic/fixdep.c +++ b/scripts/basic/fixdep.c @@ -251,7 +251,7 @@ static void parse_config_file(const char *map, size_t len) } /* test is s ends in sub */ -static int strrcmp(char *s, char *sub) +static int strrcmp(const char *s, const char *sub) { int slen = strlen(s); int sublen = strlen(sub);