From d94ffac4a584dc7a4f6f2ec567b8caab05ce9253 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 6 May 2020 19:04:05 +0200 Subject: New build parameters and shared includes This changes many files but I've just applied some replace commands.. So - nothing special! --- src/kernel/lib/data/list.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/kernel/lib/data/list.c') diff --git a/src/kernel/lib/data/list.c b/src/kernel/lib/data/list.c index 788b4ab..41f812f 100644 --- a/src/kernel/lib/data/list.c +++ b/src/kernel/lib/data/list.c @@ -1,9 +1,9 @@ #include #include -#include -#include -#include -#include +#include +#include +#include +#include struct list *list_create() { @@ -11,7 +11,7 @@ struct list *list_create() return list; } -uint32_t list_size(struct list *list) +u32 list_size(struct list *list) { if (!list) return 0; @@ -182,7 +182,7 @@ void listnode_destroy(struct list_node *node) // Conversion -struct list *str_split(const char *str, const char *delim, uint32_t *numtokens) +struct list *str_split(const char *str, const char *delim, u32 *numtokens) { struct list *ret_list = list_create(); char *s = strdup(str); -- cgit v1.2.3