1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-04 04:44:16 +01:00

Sorting functions return void now instead of int.

This commit is contained in:
dan
2000-09-26 10:54:37 +00:00
parent 4193d2265d
commit ce8b816c5d
3 changed files with 5 additions and 9 deletions

View File

@@ -249,12 +249,10 @@ WMCountInArray(WMArray *array, void *item)
}
int
void
WMSortArray(WMArray *array, WMCompareDataProc *comparer)
{
qsort(array->items, array->itemCount, sizeof(void*), comparer);
return 1;
}