]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - include/linux/sort.h
Merge tag 'trace-v5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux...
[linux.git] / include / linux / sort.h
index 61b96d0ebc4404895cb519ee97b8f0a49bf275e5..b5898725fe9db1b8ac3bb7a9760506203ec4824c 100644 (file)
@@ -5,12 +5,12 @@
 #include <linux/types.h>
 
 void sort_r(void *base, size_t num, size_t size,
-           int (*cmp)(const void *, const void *, const void *),
-           void (*swap)(void *, void *, int),
+           cmp_r_func_t cmp_func,
+           swap_func_t swap_func,
            const void *priv);
 
 void sort(void *base, size_t num, size_t size,
-         int (*cmp)(const void *, const void *),
-         void (*swap)(void *, void *, int));
+         cmp_func_t cmp_func,
+         swap_func_t swap_func);
 
 #endif