
7 Dec
2011
7 Dec
'11
12:37 a.m.
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 --- lib/qsort.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/lib/qsort.c b/lib/qsort.c index 86c392c..5709884 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,
--
1.7.3.1