feat: (vm) memory mapping support: mmap/munmap
[lunaix-os.git] / lunaix-os / includes / lunaix / ds / llist.h
index a4797c34d3f889ab9c0e970ed693607ee7953fbe..65ba474d750328d80ff3c08eba0611c9cb076f30 100644 (file)
@@ -50,6 +50,12 @@ llist_prepend(struct llist_header* head, struct llist_header* elem)
     __llist_add(elem, head, head->next);
 }
 
+static inline void
+llist_insert_after(struct llist_header* head, struct llist_header* elem)
+{
+    __llist_add(elem, head, head->next);
+}
+
 static inline void
 llist_delete(struct llist_header* elem)
 {