Fixed lsearch related arguments.

This commit is contained in:
Scott Anderson 2017-05-13 13:37:17 +12:00
parent f4c90635ff
commit a4eeedfa34
15 changed files with 58 additions and 33 deletions

View file

@ -386,3 +386,7 @@ char *argsep(char **stringp, const char *delim) {
found:
return start;
}
int strcmp_ptr(const void *a, const void *b) {
return strcmp(*(char **)a, *(char **)b);
}