Module: xenomai-abe
Branch: experimental
Commit: f324cf68e70d5953dd9816883f7a46cfe1d37550
URL:    
http://git.xenomai.org/?p=xenomai-abe.git;a=commit;h=f324cf68e70d5953dd9816883f7a46cfe1d37550

Author: Alexis Berlemont <alexis.berlem...@gmail.com>
Date:   Wed May 19 00:13:36 2010 +0200

analogy: fix bulk flag declaration in buffer.h (broken)

---

 include/analogy/buffer.h |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/include/analogy/buffer.h b/include/analogy/buffer.h
index 49d2a9f..786c8e1 100644
--- a/include/analogy/buffer.h
+++ b/include/analogy/buffer.h
@@ -45,7 +45,7 @@
 
 /* Status bits */
 #define A4L_BUF_BULK_NR 8
-#define A4L_BUF_MAP_NR 8
+#define A4L_BUF_MAP_NR 9
 /* Status flags */
 #define A4L_BUF_BULK (1 << A4L_BUF_BULK_NR)
 #define A4L_BUF_MAP (1 << A4L_BUF_MAP_NR)
@@ -89,8 +89,8 @@ typedef struct a4l_buffer a4l_buf_t;
 /* Static inline Buffer related functions */
 
 /* Produce memcpy function */
-static inline int __produce(a4l_cxt_t * cxt,
-                           a4l_buf_t * buf, void *pin, unsigned long count)
+static inline int __produce(a4l_cxt_t *cxt,
+                           a4l_buf_t *buf, void *pin, unsigned long count)
 {
        unsigned long start_ptr = (buf->prd_count % buf->size);
        unsigned long tmp_cnt = count;
@@ -119,8 +119,8 @@ static inline int __produce(a4l_cxt_t * cxt,
 }
 
 /* Consume memcpy function */
-static inline int __consume(a4l_cxt_t * cxt,
-                           a4l_buf_t * buf, void *pout, unsigned long count)
+static inline int __consume(a4l_cxt_t *cxt,
+                           a4l_buf_t *buf, void *pout, unsigned long count)
 {
        unsigned long start_ptr = (buf->cns_count % buf->size);
        unsigned long tmp_cnt = count;


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to