Skip to contentSkip to conversation

trivial warning fix

GIT PULL Jan Kiszka 1 participant 1 message Jun 30, 2009

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

The following changes since commit cdc03ba796e72a93668cfe0eeb666b16017b6a97:
Jan Kiszka (1):
comedi: Fix build breakage due to typos

are available in the git repository at:

git://git.xenomai.org/xenomai-jki.git for-upstream

Jan Kiszka (1):
posix: Fix build warning with dlopen support enabled

 src/skins/posix/init.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

---

commit c09ace348560c30754bbd1b480a838eb619600ac

Author: Jan Kiszka <[email protected]>
Date:   Tue Jun 30 20:33:44 2009 +0200

posix: Fix build warning with dlopen support enabled

src/skins/posix/init.c +2 -1
index 9c58c9b..415997f 100644
@@ -49,8 +49,9 @@ void __init_posix_interface(void)
 {
 #ifndef CONFIG_XENO_LIBS_DLOPEN
 	struct sched_param parm;
+	int policy;
 #endif /* !CONFIG_XENO_LIBS_DLOPEN */
-	int muxid, err, policy;
+	int muxid, err;
 
 	muxid =
 	    xeno_bind_skin(PSE51_SKIN_MAGIC, "POSIX", "xeno_posix");