summaryrefslogtreecommitdiff
path: root/libsysfs/dlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsysfs/dlist.h')
-rw-r--r--libsysfs/dlist.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libsysfs/dlist.h b/libsysfs/dlist.h
index 83f67e8d44..7fc90e5bf5 100644
--- a/libsysfs/dlist.h
+++ b/libsysfs/dlist.h
@@ -76,13 +76,14 @@ void dlist_end(Dlist *);
void *dlist_insert(Dlist *,void *,int) ;
-void *dlist_insert_sorted(struct dlist *list, void *new, int (*sorter)(void *, void *));
+void *dlist_insert_sorted(struct dlist *list, void *new_elem, int (*sorter)(void *, void *));
void dlist_delete(Dlist *,int);
void dlist_push(Dlist *,void *);
void dlist_unshift(Dlist *,void *);
+void dlist_unshift_sorted(Dlist *,void *,int (*sorter)(void *, void *));
void *dlist_pop(Dlist *);