summaryrefslogtreecommitdiffstats
path: root/lib/qsort.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-12-06 13:37:16 +0000
committerWolfgang Denk <wd@denx.de>2011-12-07 08:39:54 +0100
commit42c4a23a55fbcccaabe9e3e76b00138185209a74 (patch)
tree6eb84eccaafd3aa984cf35a9801cb2e103a51e88 /lib/qsort.c
parentf915c9316cf1dd16a5ec4da02447656f200660f0 (diff)
downloadtalos-obmc-uboot-42c4a23a55fbcccaabe9e3e76b00138185209a74.tar.gz
talos-obmc-uboot-42c4a23a55fbcccaabe9e3e76b00138185209a74.zip
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>
Diffstat (limited to 'lib/qsort.c')
-rw-r--r--lib/qsort.c1
1 files changed, 1 insertions, 0 deletions
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 <linux/types.h>
+#include <common.h>
#include <exports.h>
void qsort(void *base,
OpenPOWER on IntegriCloud