Rename string functions to avoid variable shadow

This commit is contained in:
Andrea Mazzoleni 2016-11-06 16:06:26 +01:00
parent 8de78a8b9f
commit 6f16cddd5b
5 changed files with 10 additions and 10 deletions

View file

@ -130,8 +130,8 @@ static int devresolve_proc(uint64_t device, char* path, size_t path_size)
separator += 3;
/* split the line */
first_mac = split(first_map, 8, s, " \t\r\n");
second_mac = split(second_map, 8, separator, " \t\r\n");
first_mac = strsplit(first_map, 8, s, " \t\r\n");
second_mac = strsplit(second_map, 8, separator, " \t\r\n");
/* if too short, it's the wrong line */
if (first_mac < 5)