From: Jan Kiszka <jan.kiszka@domain.hid>
To: xenomai-core <xenomai@xenomai.org>
Subject: [Xenomai-core] [PATCH] fix warnings on !XENO_OPT_NATIVE_REGISTRY
Date: Tue, 14 Feb 2006 13:53:50 +0100 [thread overview]
Message-ID: <43F1D2DE.2020305@domain.hid> (raw)
[-- 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 --]
next reply other threads:[~2006-02-14 12:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-14 12:53 Jan Kiszka [this message]
2006-02-14 16:20 ` [Xenomai-core] [PATCH] fix warnings on !XENO_OPT_NATIVE_REGISTRY Gilles Chanteperdrix
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=43F1D2DE.2020305@domain.hid \
--to=jan.kiszka@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.