diff options
Diffstat (limited to 'lib/quickjs/list.h')
-rw-r--r-- | lib/quickjs/list.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/quickjs/list.h b/lib/quickjs/list.h index 5c182340..80983111 100644 --- a/lib/quickjs/list.h +++ b/lib/quickjs/list.h @@ -1,6 +1,6 @@ /* * Linux klist like system - * + * * Copyright (c) 2016-2017 Fabrice Bellard * * Permission is hereby granted, free of charge, to any person obtaining a copy @@ -45,7 +45,7 @@ static inline void init_list_head(struct list_head *head) } /* insert 'el' between 'prev' and 'next' */ -static inline void __list_add(struct list_head *el, +static inline void __list_add(struct list_head *el, struct list_head *prev, struct list_head *next) { prev->next = el; |