1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

made list helpers static

This commit is contained in:
Steffen Vogel 2016-03-29 08:59:26 +02:00
parent c449415873
commit 08181c2f94

View file

@ -22,11 +22,11 @@ static int cmp_lookup(const void *a, const void *b) {
return strcmp(obj->name, b);
}
int cmp_contains(const void *a, const void *b) {
static int cmp_contains(const void *a, const void *b) {
return a == b ? 0 : 1;
}
int cmp_sort(const void *a, const void *b, void *thunk) {
static int cmp_sort(const void *a, const void *b, void *thunk) {
cmp_cb_t cmp = (cmp_cb_t) thunk;
return cmp(*(void **) a, *(void **) b);