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

Wolfgang Denk wd at denx.de
Wed Dec 7 08:40:02 CET 2011


Dear Simon Glass,

In message <1323214637-5543-1-git-send-email-sjg at chromium.org> you 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>
> ---
>  lib/qsort.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Language shapes the way we think, and determines what we  can  think
about."                                                 - B. L. Whorf


More information about the U-Boot mailing list