diff options
Diffstat (limited to 'src/pr_list.c')
-rw-r--r-- | src/pr_list.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pr_list.c b/src/pr_list.c index f1403bd..cb20a22 100644 --- a/src/pr_list.c +++ b/src/pr_list.c @@ -48,7 +48,7 @@ pr_list_new (void *data) return list; } -inline int +int pr_list_empty(PRList *list) { assert (list); @@ -262,9 +262,9 @@ pr_list_add_sorted_internal(PRList *list, direction = prepend ? 1 : -1; if (direction > 0) { - p = start = list->next; + start = list->next; } else { - p = start = list->prev; + start = list->prev; } for (p = start; p != list; p = pr_list_next(p, direction)) { |