common: Move sorting functions to their own header file

These don't need to be in common.h so move them out into a new header.
Also add some missing comments.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Simon Glass 2019-11-14 12:57:19 -07:00 committed by Tom Rini
parent f083583786
commit 8bef79bf3c
8 changed files with 40 additions and 5 deletions

View file

@ -18,6 +18,7 @@
#include <linux/types.h>
#include <common.h>
#include <exports.h>
#include <sort.h>
void qsort(void *base,
size_t nel,