After using SDL_qsort, mark sort_entries() as SDLCALL

This commit is contained in:
Sylvain 2023-06-23 12:50:58 +02:00 committed by Sylvain Becker
parent 1827a0bf62
commit 6f344f29b8

View file

@ -659,7 +659,7 @@ static int filter_entries(const struct dirent *entry)
{
return IsJoystickDeviceNode(entry->d_name);
}
static int sort_entries(const void *_a, const void *_b)
static int SDLCALL sort_entries(const void *_a, const void *_b)
{
const struct dirent **a = (const struct dirent **)_a;
const struct dirent **b = (const struct dirent **)_b;