[U-Boot] [PATCH 1/2] Include common.h in qsort.c to fix build warning

Heiko Schocher hs at denx.de
Wed Dec 7 08:08:07 CET 2011


Hello Simon,

Simon Glass wrote:
> 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 at chromium.org>

Tested on the cam_enc_4xx board:

Tested-by: Heiko Schocher <hs at denx.de>

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list