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>
master
Simon Glass 13 years ago committed by Wolfgang Denk
parent f915c9316c
commit 42c4a23a55
  1. 1
      lib/qsort.c

@ -16,6 +16,7 @@
* bcc and gcc. */
#include <linux/types.h>
#include <common.h>
#include <exports.h>
void qsort(void *base,

Loading…
Cancel
Save