1
0
Fork 0

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>
utp
Simon Glass 2011-12-06 13:37:16 +00:00 committed by Wolfgang Denk
parent f915c9316c
commit 42c4a23a55
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@
* bcc and gcc. */
#include <linux/types.h>
#include <common.h>
#include <exports.h>
void qsort(void *base,