lib/test_meminit.c: add bulk alloc/free tests
[linux-2.6-microblaze.git] / lib / bsearch.c
index 8baa839..8b3aae5 100644 (file)
@@ -29,7 +29,7 @@
  * the same comparison function for both sort() and bsearch().
  */
 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)
 {
        const char *pivot;
        int result;