diff options
author | Marvin Borner | 2020-05-06 19:04:05 +0200 |
---|---|---|
committer | Marvin Borner | 2020-05-06 19:04:05 +0200 |
commit | d94ffac4a584dc7a4f6f2ec567b8caab05ce9253 (patch) | |
tree | 559cd596a0a407d4b40c1d12d3c6a0686494da16 /src/kernel/lib/data.h | |
parent | 1a8563a05608b5b5e27eada44cf4790926001c68 (diff) |
New build parameters and shared includes
This changes many files but I've just applied some replace commands.. So
- nothing special!
Diffstat (limited to 'src/kernel/lib/data.h')
-rw-r--r-- | src/kernel/lib/data.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/lib/data.h b/src/kernel/lib/data.h index d0eaaf5..709ca6f 100644 --- a/src/kernel/lib/data.h +++ b/src/kernel/lib/data.h @@ -14,14 +14,14 @@ struct list_node { struct list { struct list_node *head; struct list_node *tail; - uint32_t size; + u32 size; }; #define foreach(t, list) for (struct list_node *t = list->head; t != NULL; t = t->next) struct list *list_create(); -uint32_t list_size(struct list *list); +u32 list_size(struct list *list); struct list_node *list_insert_front(struct list *list, void *val); @@ -55,7 +55,7 @@ struct list_node *list_get_node_by_index(struct list *list, int index); void *list_remove_by_index(struct list *list, int index); -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); char *list_to_str(struct list *list, const char *delim); // Tree |