]> git.sur5r.net Git - u-boot/commit
Include common.h in qsort.c to fix build warning
authorSimon Glass <sjg@chromium.org>
Tue, 6 Dec 2011 13:37:16 +0000 (13:37 +0000)
committerWolfgang Denk <wd@denx.de>
Wed, 7 Dec 2011 07:39:54 +0000 (08:39 +0100)
commit42c4a23a55fbcccaabe9e3e76b00138185209a74
tree6eb84eccaafd3aa984cf35a9801cb2e103a51e88
parentf915c9316cf1dd16a5ec4da02447656f200660f0
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>
lib/qsort.c