summaryrefslogtreecommitdiff
path: root/lib/bsearch.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-10-07 16:56:54 +0300
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2019-11-14 13:15:11 -0500
commit52ae533b8a18e7ca868e7ac5953ad7258210f320 (patch)
treee0263ad9869fdb9fbb3c405eb5f14640ac64570e /lib/bsearch.c
parentb43e78f65b1d35fd3e13c7b23f9b64ea83c9ad3a (diff)
lib/sort: Move swap, cmp and cmp_r function types for wider use
The function types for swap, cmp and cmp_r functions are already being in use by modules. Move them to types.h that everybody in kernel will be able to use generic types instead of custom ones. This adds more sense to the comment in bsearch() later on. Link: http://lkml.kernel.org/r/20191007135656.37734-1-andriy.shevchenko@linux.intel.com Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'lib/bsearch.c')
0 files changed, 0 insertions, 0 deletions