public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] Include common.h in qsort.c to fix build warning
@ 2011-12-06 23:37 Simon Glass
  2011-12-06 23:37 ` [U-Boot] [PATCH 2/2] Fix unused function in cmd_bdinfo.c Simon Glass
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Simon Glass @ 2011-12-06 23:37 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-12-07  7:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-06 23:37 [U-Boot] [PATCH 1/2] Include common.h in qsort.c to fix build warning Simon Glass
2011-12-06 23:37 ` [U-Boot] [PATCH 2/2] Fix unused function in cmd_bdinfo.c Simon Glass
2011-12-07  7:42   ` Wolfgang Denk
2011-12-07  3:36 ` [U-Boot] [PATCH 1/2] Include common.h in qsort.c to fix build warning Kumar Gala
2011-12-07  5:29   ` Simon Glass
2011-12-07  7:08 ` Heiko Schocher
2011-12-07  7:40 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox