Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sort-util: add missing parens | Yu Watanabe | 2022-03-18 | 1 | -6/+6 |
| | | | | | | | With this, we can call e.g. ``` typesafe_qsort(buf + m, n - m, comp); ``` | ||||
* | sort-util: avoid using glibc's internal __compar_d_fn_t type | Lennart Poettering | 2021-10-11 | 1 | -4/+10 |
| | |||||
* | sort-util: use comparison_fn_t instead of __compar_fn_t | Lennart Poettering | 2021-10-11 | 1 | -4/+4 |
| | | | | | | | Let's avoid using the internal type of glibc, and rather use the one they officially export. https://www.gnu.org/software/libc/manual/html_node/Comparison-Functions.html | ||||
* | sort-util: make cmp_int() generic, so that we can reuse it elsewhere | Lennart Poettering | 2020-12-17 | 1 | -0/+2 |
| | |||||
* | license: LGPL-2.1+ -> LGPL-2.1-or-later | Yu Watanabe | 2020-11-09 | 1 | -1/+1 |
| | |||||
* | basic/sort-util: adorn qsort_safe with a prefix underscore | Zbigniew Jędrzejewski-Szmek | 2020-06-03 | 1 | -2/+2 |
| | | | | | It should not be used directly since we have typesafe_qsort(), so let's mark it appropriately. | ||||
* | util: split out sorting related calls to new sort-util.[ch] | Lennart Poettering | 2019-03-13 | 1 | -0/+70 |