Include common.h in qsort.c to fix build warning
exports.h no longer includes common.h, which contains assert(). qsort.c needs to be updated. This fixes this warning: qsort.c: In function 'qsort': qsort.c:30:3: warning: implicit declaration of function 'assert' [-Wimplicit-function-declaration] Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Kumar Gala <galak@kernel.crashing.org> Tested-by: Heiko Schocher <hs@denx.de>
This commit is contained in:
parent
f915c9316c
commit
42c4a23a55
@ -16,6 +16,7 @@
|
||||
* bcc and gcc. */
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <common.h>
|
||||
#include <exports.h>
|
||||
|
||||
void qsort(void *base,
|
||||
|
Loading…
Reference in New Issue
Block a user