Module: xenomai-2.6
Branch: master
Commit: f00d22eca6277e780c19a5d5ecd2ed0e23dabafe
URL:    
http://git.xenomai.org/?p=xenomai-2.6.git;a=commit;h=f00d22eca6277e780c19a5d5ecd2ed0e23dabafe

Author: Philippe Gerum <r...@xenomai.org>
Date:   Fri Apr  4 10:20:42 2014 +0200

nucleus/seqlock: fix seqlock initializer

---

 include/nucleus/seqlock.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/nucleus/seqlock.h b/include/nucleus/seqlock.h
index 897d411..9b52bb5 100644
--- a/include/nucleus/seqlock.h
+++ b/include/nucleus/seqlock.h
@@ -10,7 +10,7 @@ typedef struct xnseqcount {
 } xnseqcount_t;
 
 #define XNSEQCNT_ZERO { 0 }
-#define xnseqcount_init(x) do { *(x) = (xnseqcount_t) SEQCNT_ZERO; } while (0)
+#define xnseqcount_init(x) do { *(x) = (xnseqcount_t) XNSEQCNT_ZERO; } while 
(0)
 
 /* Start of read using pointer to a sequence counter only.  */
 static inline unsigned xnread_seqcount_begin(const xnseqcount_t *s)


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to