diff options
| author | jvoisin | 2020-11-06 17:05:40 +0100 |
|---|---|---|
| committer | jvoisin | 2020-11-06 17:05:40 +0100 |
| commit | e6e6728fd04d7cbaeee7f8ef4733a77557786a8b (patch) | |
| tree | a5f793eee3c561314b8ecfd75d0c3228d07f4a70 /src/sp_list.h | |
| parent | 69459369754b07d3fa4379c2b60a5f8ba9fcd45d (diff) | |
Constify a bit more
Diffstat (limited to 'src/sp_list.h')
| -rw-r--r-- | src/sp_list.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp_list.h b/src/sp_list.h index 6b04486..2c91995 100644 --- a/src/sp_list.h +++ b/src/sp_list.h | |||
| @@ -7,8 +7,8 @@ typedef struct sp_node_s { | |||
| 7 | 7 | ||
| 8 | } sp_list_node; | 8 | } sp_list_node; |
| 9 | 9 | ||
| 10 | sp_list_node *sp_list_sort(sp_list_node *, | 10 | sp_list_node *sp_list_sort(sp_list_node *, int (*)(sp_list_node const *const, |
| 11 | int (*)(sp_list_node *, sp_list_node *)); | 11 | sp_list_node const *const)); |
| 12 | sp_list_node *sp_list_insert(sp_list_node *, void *); | 12 | sp_list_node *sp_list_insert(sp_list_node *, void *); |
| 13 | sp_list_node *sp_list_prepend(sp_list_node *, void *); | 13 | sp_list_node *sp_list_prepend(sp_list_node *, void *); |
| 14 | void sp_list_free(sp_list_node *); | 14 | void sp_list_free(sp_list_node *); |
