X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=flist.h;h=8e1304142cc3d3468b79f75872e534220626ce59;hp=7aca9730b2e9621349cfb27b427c3ff19f91829f;hb=1ae83d45ed853cd73b95b89ae14cacac5b97187e;hpb=7477673323a943b99ea203bb9434661d13a0159c diff --git a/flist.h b/flist.h index 7aca9730..8e130414 100644 --- 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