Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4c835b57 authored by Nicolas Iooss's avatar Nicolas Iooss Committed by Michal Marek
Browse files

fixdep: constify strrcmp arguments



strrcmp only performs read access to the memory addressed by its
arguments so make them const pointers.

Signed-off-by: default avatarNicolas Iooss <nicolas.iooss_linux@m4x.org>
Signed-off-by: default avatarMichal Marek <mmarek@suse.com>
parent de5315ce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);