Sparse warns about this one:

panic.c:31:6: warning: symbol 'warning' was not declared. Should it be static?
panic.c:40:6: warning: symbol 'panic' was not declared. Should it be static?

Include the declarations.

Signed-off-by: Robert Schwebel <[EMAIL PROTECTED]>

---
 base/panic.c |    1 +
 1 file changed, 1 insertion(+)

Index: xenomai-solo/base/panic.c
===================================================================
--- xenomai-solo.orig/base/panic.c      2008-03-30 20:51:06.000000000 +0200
+++ xenomai-solo/base/panic.c   2008-03-30 20:51:20.000000000 +0200
@@ -19,6 +19,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdarg.h>
+#include <xenomai/panic.h>
 
 static void __warning(const char *fmt, va_list ap)
 {
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9


_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to