All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Schwebel <r.schwebel@domain.hid>
To: xenomai-core <xenomai@xenomai.org>
Subject: [Xenomai-core] [PATCH][SOLO] sparse: include panic header file
Date: Tue, 1 Apr 2008 12:45:45 +0200	[thread overview]
Message-ID: <20080401104545.GW13814@domain.hid> (raw)
In-Reply-To: <20080401103647.GR13814@domain.hid>

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 <r.schwebel@domain.hid>

---
 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



  parent reply	other threads:[~2008-04-01 10:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-01 10:36 [Xenomai-core] [PATCH][SOLO] add sparse support Robert Schwebel
2008-04-01 10:43 ` [Xenomai-core] [PATCH][SOLO] sparse fix: use NULL instead of 0 Robert Schwebel
2008-04-01 10:44 ` [Xenomai-core] [PATCH][SOLO] sparse: clockobj_unmap not declared Robert Schwebel
2008-04-01 10:44 ` [Xenomai-core] [PATCH][SOLO] sparse: threadobj_global_rr " Robert Schwebel
2008-04-01 10:45 ` Robert Schwebel [this message]
2008-04-01 10:46 ` [Xenomai-core] [PATCH][SOLO] sparse: include sysClkRateGet declaration Robert Schwebel
2008-04-01 14:38 ` [Xenomai-core] [PATCH][SOLO] add sparse support Uwe Kleine-König
2008-04-03  9:37 ` Philippe Gerum
2008-04-04 12:22   ` Robert Schwebel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080401104545.GW13814@domain.hid \
    --to=r.schwebel@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.