summaryrefslogtreecommitdiffstats
path: root/list.h
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2022-04-29 23:32:19 +0200
committerpgen <p.gen.progs@gmail.com>2022-04-29 23:32:19 +0200
commite9b77db07d47a8b1f5140f16516d1e27380f2c1a (patch)
treeffa10be01ac6e516098abf990045f447e90e47cb /list.h
parentd90563a769e8faa00c5a93ab01849ac29aa94bd3 (diff)
Make pointers explicit in swap functions
Diffstat (limited to 'list.h')
-rw-r--r--list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/list.h b/list.h
index cf7e637..f2857f8 100644
--- a/list.h
+++ b/list.h
@@ -51,7 +51,7 @@ ll_insert_after(ll_t * const list, ll_node_t * node, void * const data);
void
ll_sort(ll_t * list, int (*comp)(void *, void *),
- void (*swap)(void * a, void *));
+ void (*swap)(void **, void **));
int
ll_delete(ll_t * const list, ll_node_t * node);