diff options
author | Simon Glass <sjg@chromium.org> | 2011-12-06 13:37:16 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-12-07 08:39:54 +0100 |
commit | 42c4a23a55fbcccaabe9e3e76b00138185209a74 (patch) | |
tree | 6eb84eccaafd3aa984cf35a9801cb2e103a51e88 | |
parent | f915c9316cf1dd16a5ec4da02447656f200660f0 (diff) | |
download | u-boot-imx-42c4a23a55fbcccaabe9e3e76b00138185209a74.zip u-boot-imx-42c4a23a55fbcccaabe9e3e76b00138185209a74.tar.gz u-boot-imx-42c4a23a55fbcccaabe9e3e76b00138185209a74.tar.bz2 |
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>
-rw-r--r-- | lib/qsort.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/qsort.c b/lib/qsort.c index 86c392c..5709884 100644 --- a/lib/qsort.c +++ b/lib/qsort.c @@ -16,6 +16,7 @@ * bcc and gcc. */ #include <linux/types.h> +#include <common.h> #include <exports.h> void qsort(void *base, |