All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] [PATCH] fix warnings on !XENO_OPT_NATIVE_REGISTRY
@ 2006-02-14 12:53 Jan Kiszka
  2006-02-14 16:20 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2006-02-14 12:53 UTC (permalink / raw)
  To: xenomai-core


[-- Attachment #1.1: Type: text/plain, Size: 113 bytes --]

Hi,

this patch addresses the compiler warnings when
CONFIG_XENO_OPT_NATIVE_REGISTRY is switched off.

Jan

[-- Attachment #1.2: config_warnings.patch --]
[-- Type: text/plain, Size: 3105 bytes --]

Index: ksrc/skins/native/mutex.c
===================================================================
--- ksrc/skins/native/mutex.c	(revision 564)
+++ ksrc/skins/native/mutex.c	(working copy)
@@ -106,7 +106,7 @@
     .write_proc = NULL
 };
 
-#elif CONFIG_XENO_OPT_NATIVE_REGISTRY
+#elif defined(CONFIG_XENO_OPT_NATIVE_REGISTRY)
 
 static RT_OBJECT_PROCNODE __mutex_pnode = {
 
Index: ksrc/skins/native/heap.c
===================================================================
--- ksrc/skins/native/heap.c	(revision 564)
+++ ksrc/skins/native/heap.c	(working copy)
@@ -106,7 +106,7 @@
     .write_proc = NULL
 };
 
-#elif CONFIG_XENO_OPT_NATIVE_REGISTRY
+#elif defined(CONFIG_XENO_OPT_NATIVE_REGISTRY)
 
 static RT_OBJECT_PROCNODE __heap_pnode = {
 
Index: ksrc/skins/native/event.c
===================================================================
--- ksrc/skins/native/event.c	(revision 564)
+++ ksrc/skins/native/event.c	(working copy)
@@ -99,7 +99,7 @@
     .write_proc = NULL
 };
 
-#elif CONFIG_XENO_OPT_NATIVE_REGISTRY
+#elif defined(CONFIG_XENO_OPT_NATIVE_REGISTRY)
 
 static RT_OBJECT_PROCNODE __event_pnode = {
 
Index: ksrc/skins/native/cond.c
===================================================================
--- ksrc/skins/native/cond.c	(revision 564)
+++ ksrc/skins/native/cond.c	(working copy)
@@ -97,7 +97,7 @@
     .write_proc = NULL
 };
 
-#elif CONFIG_XENO_OPT_NATIVE_REGISTRY
+#elif defined(CONFIG_XENO_OPT_NATIVE_REGISTRY)
 
 static RT_OBJECT_PROCNODE __cond_pnode = {
 
Index: ksrc/skins/native/sem.c
===================================================================
--- ksrc/skins/native/sem.c	(revision 564)
+++ ksrc/skins/native/sem.c	(working copy)
@@ -100,7 +100,7 @@
     .write_proc = NULL
 };
 
-#elif CONFIG_XENO_OPT_NATIVE_REGISTRY
+#elif defined(CONFIG_XENO_OPT_NATIVE_REGISTRY)
 
 static RT_OBJECT_PROCNODE __sem_pnode = {
 
Index: ksrc/skins/native/queue.c
===================================================================
--- ksrc/skins/native/queue.c	(revision 564)
+++ ksrc/skins/native/queue.c	(working copy)
@@ -103,7 +103,7 @@
     .write_proc = NULL
 };
 
-#elif CONFIG_XENO_OPT_NATIVE_REGISTRY
+#elif defined(CONFIG_XENO_OPT_NATIVE_REGISTRY)
 
 static RT_OBJECT_PROCNODE __queue_pnode = {
 
Index: ksrc/skins/native/alarm.c
===================================================================
--- ksrc/skins/native/alarm.c	(revision 564)
+++ ksrc/skins/native/alarm.c	(working copy)
@@ -94,7 +94,7 @@
     .write_proc = NULL
 };
 
-#elif CONFIG_XENO_OPT_NATIVE_REGISTRY
+#elif defined(CONFIG_XENO_OPT_NATIVE_REGISTRY)
 
 static RT_OBJECT_PROCNODE __alarm_pnode = {
 
Index: ksrc/skins/native/pipe.c
===================================================================
--- ksrc/skins/native/pipe.c	(revision 564)
+++ ksrc/skins/native/pipe.c	(working copy)
@@ -71,7 +71,7 @@
     .link_proc = &__pipe_link_proc,
 };
 
-#elif CONFIG_XENO_OPT_NATIVE_REGISTRY
+#elif defined(CONFIG_XENO_OPT_NATIVE_REGISTRY)
 
 static RT_OBJECT_PROCNODE __pipe_pnode = {
 

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

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

* Re: [Xenomai-core] [PATCH] fix warnings on !XENO_OPT_NATIVE_REGISTRY
  2006-02-14 12:53 [Xenomai-core] [PATCH] fix warnings on !XENO_OPT_NATIVE_REGISTRY Jan Kiszka
@ 2006-02-14 16:20 ` Gilles Chanteperdrix
  0 siblings, 0 replies; 2+ messages in thread
From: Gilles Chanteperdrix @ 2006-02-14 16:20 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: xenomai-core

Jan Kiszka wrote:
 > Hi,
 > 
 > this patch addresses the compiler warnings when
 > CONFIG_XENO_OPT_NATIVE_REGISTRY is switched off.

Applied, thanks.

-- 


					    Gilles Chanteperdrix.


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

end of thread, other threads:[~2006-02-14 16:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-14 12:53 [Xenomai-core] [PATCH] fix warnings on !XENO_OPT_NATIVE_REGISTRY Jan Kiszka
2006-02-14 16:20 ` Gilles Chanteperdrix

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.