summaryrefslogtreecommitdiffstats
path: root/include/linux/bsearch.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/bsearch.h')
-rw-r--r--include/linux/bsearch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/bsearch.h b/include/linux/bsearch.h
index 62b1eb348858..8ed53d7524ea 100644
--- a/include/linux/bsearch.h
+++ b/include/linux/bsearch.h
@@ -5,6 +5,6 @@
#include <linux/types.h>
void *bsearch(const void *key, const void *base, size_t num, size_t size,
- int (*cmp)(const void *key, const void *elt));
+ cmp_func_t cmp);
#endif /* _LINUX_BSEARCH_H */