diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-07-23 11:19:00 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-07-23 11:19:00 +0000 |
commit | f1775381f91f1250b20f1949dfd0364ddb0ee9fc (patch) | |
tree | 1326bd7f4dfd8c57f89c4d6b2f13d4f22f578abf /libpthread/linuxthreads/sysdeps/pthread/list.h | |
parent | d35b0bc119816825a657f7c9c2a1f062e7048c39 (diff) |
- fix inline keyword
Diffstat (limited to 'libpthread/linuxthreads/sysdeps/pthread/list.h')
-rw-r--r-- | libpthread/linuxthreads/sysdeps/pthread/list.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libpthread/linuxthreads/sysdeps/pthread/list.h b/libpthread/linuxthreads/sysdeps/pthread/list.h index 43186a2d5..75decfbb7 100644 --- a/libpthread/linuxthreads/sysdeps/pthread/list.h +++ b/libpthread/linuxthreads/sysdeps/pthread/list.h @@ -43,7 +43,7 @@ typedef struct list_head /* Add new element at the head of the list. */ -static inline void +static __inline__ void list_add (list_t *newp, list_t *head) { head->next->prev = newp; @@ -54,7 +54,7 @@ list_add (list_t *newp, list_t *head) /* Add new element at the tail of the list. */ -static inline void +static __inline__ void list_add_tail (list_t *newp, list_t *head) { head->prev->next = newp; @@ -65,7 +65,7 @@ list_add_tail (list_t *newp, list_t *head) /* Remove element from list. */ -static inline void +static __inline__ void list_del (list_t *elem) { elem->next->prev = elem->prev; @@ -74,7 +74,7 @@ list_del (list_t *elem) /* Join two lists. */ -static inline void +static __inline__ void list_splice (list_t *add, list_t *head) { /* Do nothing if the list which gets added is empty. */ |