aboutsummaryrefslogtreecommitdiff
path: root/include/linked_list.h
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2020-08-30 00:05:19 +0200
committerKenny Levinsen <kl@kl.wtf>2020-08-30 00:05:19 +0200
commitc36cc962e6b3fd7bec8093756d4c3a7df9940862 (patch)
tree43afee6a471cc3366be43d434fcf7397baf0180e /include/linked_list.h
parent5470c481134ab194f32f53fd8d5ba7c916478f74 (diff)
linked_list: Implement linked_list_take
Diffstat (limited to 'include/linked_list.h')
-rw-r--r--include/linked_list.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linked_list.h b/include/linked_list.h
index 47cf09b..7a20985 100644
--- a/include/linked_list.h
+++ b/include/linked_list.h
@@ -12,5 +12,6 @@ void linked_list_init(struct linked_list *list);
void linked_list_insert(struct linked_list *list, struct linked_list *elem);
void linked_list_remove(struct linked_list *elem);
bool linked_list_empty(struct linked_list *list);
+void linked_list_take(struct linked_list *target, struct linked_list *source);
#endif