From: Simon Glass Date: Tue, 6 Dec 2011 13:37:16 +0000 (+0000) Subject: Include common.h in qsort.c to fix build warning X-Git-Tag: v2011.12-rc1~66 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=42c4a23a55fbcccaabe9e3e76b00138185209a74;p=oweals%2Fu-boot.git 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 Acked-by: Kumar Gala Tested-by: Heiko Schocher --- diff --git a/lib/qsort.c b/lib/qsort.c index 86c392c225..57098841f9 100644 --- a/lib/qsort.c +++ b/lib/qsort.c @@ -16,6 +16,7 @@ * bcc and gcc. */ #include +#include #include void qsort(void *base,