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:
parent
c449415873
commit
08181c2f94
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue