Module: xenomai-3
Branch: next
Commit: c2ef0b97c6ddf2ce80d64534f1a48c99fdbc08cd
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=c2ef0b97c6ddf2ce80d64534f1a48c99fdbc08cd

Author: Philippe Gerum <r...@xenomai.org>
Date:   Tue Jun 16 14:48:42 2015 +0200

boilerplate/pvlist: rename to pvlistobj (for consistency)

---

 include/boilerplate/hash.h         |    2 +-
 include/boilerplate/private-list.h |   18 +++++++++---------
 include/smokey/smokey.h            |    2 +-
 include/vxworks/lstLib.h           |    2 +-
 lib/copperplate/registry.c         |    4 ++--
 lib/psos/task.h                    |    2 +-
 lib/vxworks/taskHookLib.c          |    6 +++---
 lib/vxworks/taskHookLib.h          |    6 +++---
 lib/vxworks/taskLib.h              |    2 +-
 9 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/include/boilerplate/hash.h b/include/boilerplate/hash.h
index 733be9b..ef62e13 100644
--- a/include/boilerplate/hash.h
+++ b/include/boilerplate/hash.h
@@ -68,7 +68,7 @@ struct pvhashobj {
 };
 
 struct pvhash_bucket {
-       struct pvlist obj_list;
+       struct pvlistobj obj_list;
 };
 
 struct pvhash_table {
diff --git a/include/boilerplate/private-list.h 
b/include/boilerplate/private-list.h
index 4e70ac7..f5aafac 100644
--- a/include/boilerplate/private-list.h
+++ b/include/boilerplate/private-list.h
@@ -28,7 +28,7 @@ struct pvholder {
        struct pvholder *prev;
 };
 
-struct pvlist {
+struct pvlistobj {
        struct pvholder head;
 };
 
@@ -36,7 +36,7 @@ struct pvlist {
        { .head = { .next = &((__name).head), .prev = &((__name).head) } }
 
 #define DEFINE_PRIVATE_LIST(__name) \
-       struct pvlist __name = PRIVATE_LIST_INITIALIZER(__name)
+       struct pvlistobj __name = PRIVATE_LIST_INITIALIZER(__name)
 
 static inline void initpvh(struct pvholder *holder)
 {
@@ -59,7 +59,7 @@ static inline void dtpvh(struct pvholder *holder)
        holder->next->prev = holder->prev;
 }
 
-static inline void pvlist_init(struct pvlist *list)
+static inline void pvlist_init(struct pvlistobj *list)
 {
        initpvh(&list->head);
 }
@@ -79,12 +79,12 @@ static inline int pvholder_linked(const struct pvholder 
*holder)
                 holder->prev == holder);
 }
 
-static inline void pvlist_prepend(struct pvholder *holder, struct pvlist *list)
+static inline void pvlist_prepend(struct pvholder *holder, struct pvlistobj 
*list)
 {
        atpvh(&list->head, holder);
 }
 
-static inline void pvlist_append(struct pvholder *holder, struct pvlist *list)
+static inline void pvlist_append(struct pvholder *holder, struct pvlistobj 
*list)
 {
        atpvh(list->head.prev, holder);
 }
@@ -94,7 +94,7 @@ static inline void pvlist_insert(struct pvholder *next, 
struct pvholder *prev)
        atpvh(prev, next);
 }
 
-static inline void pvlist_join(struct pvlist *lsrc, struct pvlist *ldst)
+static inline void pvlist_join(struct pvlistobj *lsrc, struct pvlistobj *ldst)
 {
        struct pvholder *headsrc = lsrc->head.next;
        struct pvholder *tailsrc = lsrc->head.prev;
@@ -119,12 +119,12 @@ static inline void pvlist_remove_init(struct pvholder 
*holder)
        initpvh(holder);
 }
 
-static inline int pvlist_empty(const struct pvlist *list)
+static inline int pvlist_empty(const struct pvlistobj *list)
 {
        return list->head.next == &list->head;
 }
 
-static inline struct pvholder *pvlist_pop(struct pvlist *list)
+static inline struct pvholder *pvlist_pop(struct pvlistobj *list)
 {
        struct pvholder *holder = list->head.next;
        pvlist_remove(holder);
@@ -132,7 +132,7 @@ static inline struct pvholder *pvlist_pop(struct pvlist 
*list)
 }
 
 static inline int pvlist_heading_p(const struct pvholder *holder,
-                                  const struct pvlist *list)
+                                  const struct pvlistobj *list)
 {
        return list->head.next == holder;
 }
diff --git a/include/smokey/smokey.h b/include/smokey/smokey.h
index 41f5e6e..e759806 100644
--- a/include/smokey/smokey.h
+++ b/include/smokey/smokey.h
@@ -121,7 +121,7 @@ void smokey_note(const char *fmt, ...);
 }
 #endif
 
-extern struct pvlist smokey_test_list;
+extern struct pvlistobj smokey_test_list;
 
 extern int smokey_keep_going;
 
diff --git a/include/vxworks/lstLib.h b/include/vxworks/lstLib.h
index acb94f6..9644ca5 100644
--- a/include/vxworks/lstLib.h
+++ b/include/vxworks/lstLib.h
@@ -28,7 +28,7 @@
 #include <vxworks/types.h>
 
 typedef struct LIST {
-       struct pvlist list;
+       struct pvlistobj list;
        int count;
 } LIST;
 
diff --git a/lib/copperplate/registry.c b/lib/copperplate/registry.c
index 4648773..adf0d73 100644
--- a/lib/copperplate/registry.c
+++ b/lib/copperplate/registry.c
@@ -79,8 +79,8 @@ struct regfs_dir {
        char *path;
        const char *basename;
        struct pvhashobj hobj;
-       struct pvlist file_list;
-       struct pvlist dir_list;
+       struct pvlistobj file_list;
+       struct pvlistobj dir_list;
        int ndirs, nfiles;
        struct timespec ctime;
        struct pvholder link;
diff --git a/lib/psos/task.h b/lib/psos/task.h
index 2b6f27a..43173a6 100644
--- a/lib/psos/task.h
+++ b/lib/psos/task.h
@@ -40,7 +40,7 @@ struct psos_task {
        int mode;
        u_long events;
        u_long notepad[PSOSTASK_NR_REGS];
-       struct pvlist timer_list; /* Private. Never accessed remotely. */
+       struct pvlistobj timer_list; /* Private. Never accessed remotely. */
 
        char name[XNOBJECT_NAME_LEN];
        struct psos_task_args args;
diff --git a/lib/vxworks/taskHookLib.c b/lib/vxworks/taskHookLib.c
index bf61b79..296bc72 100644
--- a/lib/vxworks/taskHookLib.c
+++ b/lib/vxworks/taskHookLib.c
@@ -25,7 +25,7 @@ DEFINE_PRIVATE_LIST(wind_create_hooks);
 
 DEFINE_PRIVATE_LIST(wind_delete_hooks);
 
-static STATUS add_hook(struct pvlist *list, FUNCPTR hook, int prepend)
+static STATUS add_hook(struct pvlistobj *list, FUNCPTR hook, int prepend)
 {
        struct wind_task_hook *p;
 
@@ -46,7 +46,7 @@ static STATUS add_hook(struct pvlist *list, FUNCPTR hook, int 
prepend)
        return OK;
 }
 
-static STATUS remove_hook(struct pvlist *list, FUNCPTR hook)
+static STATUS remove_hook(struct pvlistobj *list, FUNCPTR hook)
 {
        struct wind_task_hook *p = NULL;
 
@@ -71,7 +71,7 @@ found:
        return ERROR;
 }
 
-void wind_run_hooks(struct pvlist *list, struct wind_task *task)
+void wind_run_hooks(struct pvlistobj *list, struct wind_task *task)
 {
        struct wind_task_hook *p;
        TASK_ID tid;
diff --git a/lib/vxworks/taskHookLib.h b/lib/vxworks/taskHookLib.h
index d30af0c..c3f9c8d 100644
--- a/lib/vxworks/taskHookLib.h
+++ b/lib/vxworks/taskHookLib.h
@@ -27,11 +27,11 @@ struct wind_task_hook {
        struct pvholder next;
 };
 
-extern struct pvlist wind_create_hooks;
+extern struct pvlistobj wind_create_hooks;
 
-extern struct pvlist wind_delete_hooks;
+extern struct pvlistobj wind_delete_hooks;
 
-void wind_run_hooks(struct pvlist *list,
+void wind_run_hooks(struct pvlistobj *list,
                    struct wind_task *task);
 
 #endif /* _VXWORKS_TASKHOOKLIB_H */
diff --git a/lib/vxworks/taskLib.h b/lib/vxworks/taskLib.h
index dc01025..c8d15dd 100644
--- a/lib/vxworks/taskLib.h
+++ b/lib/vxworks/taskLib.h
@@ -97,7 +97,7 @@ int get_task_status(struct wind_task *task);
 
 extern struct cluster wind_task_table;
 
-extern struct pvlist wind_task_list;
+extern struct pvlistobj wind_task_list;
 
 extern pthread_mutex_t wind_task_lock;
 


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

Reply via email to