summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-02-23 17:01:03 +0100
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-02-23 17:01:03 +0100
commitf5cfe09d7b148ca49d17bfc5b134651a6edf2ecc (patch)
tree5e8e8c3efc3056953ef3054d693f0c6a1980b5ba /include
parentd773fdaad545c122ff81acb57080c8baf46f3735 (diff)
parente13956c0b6f7635b2b4c81a07f184b56a3dbc6c7 (diff)
downloadouroboros-f5cfe09d7b148ca49d17bfc5b134651a6edf2ecc.tar.gz
ouroboros-f5cfe09d7b148ca49d17bfc5b134651a6edf2ecc.zip
Merged in dstaesse/ouroboros/be (pull request #5)
include: removed inline to comply with C89
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/list.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ouroboros/list.h b/include/ouroboros/list.h
index 7c59df7a..1a96ddb4 100644
--- a/include/ouroboros/list.h
+++ b/include/ouroboros/list.h
@@ -55,7 +55,7 @@ struct list_head {
* This is only for internal list manipulation where we know
* the prev/next entries already!
*/
-static inline void __list_add(struct list_head * new,
+static void __list_add(struct list_head * new,
struct list_head * prev,
struct list_head * next)
{
@@ -100,7 +100,7 @@ void list_add_tail(struct list_head * new,
* This is only for internal list manipulation where we know
* the prev/next entries already!
*/
-static inline void __list_del(struct list_head * prev,
+static void __list_del(struct list_head * prev,
struct list_head * next)
{
next->prev = prev;
@@ -163,7 +163,7 @@ int list_empty(struct list_head * head)
return head->next == head;
}
-static inline void __list_splice(struct list_head *list,
+static void __list_splice(struct list_head *list,
struct list_head *head)
{
struct list_head *first = list->next;