configure: add general libs for Solaris
[fio.git] / flist.h
diff --git a/flist.h b/flist.h
index 7aca9730b2e9621349cfb27b427c3ff19f91829f..8e1304142cc3d3468b79f75872e534220626ce59 100644 (file)
--- a/flist.h
+++ b/flist.h
@@ -176,4 +176,7 @@ static inline void flist_splice_init(struct flist_head *list,
        for (pos = (head)->next, n = pos->next; pos != (head); \
                pos = n, n = pos->next)
 
+extern void flist_sort(void *priv, struct flist_head *head,
+       int (*cmp)(void *priv, struct flist_head *a, struct flist_head *b));
+
 #endif