diff options
author | Freya Murphy <freya@freyacat.org> | 2025-03-27 11:39:12 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-03-27 11:39:12 -0400 |
commit | 0ff301cda68669c59351e5854ce98f2cf460543f (patch) | |
tree | cfe8f976261962420ada64b821559b9da0a56841 /include/list.h | |
parent | add compile_flags.txt for clangd lsp (diff) | |
download | comus-0ff301cda68669c59351e5854ce98f2cf460543f.tar.gz comus-0ff301cda68669c59351e5854ce98f2cf460543f.tar.bz2 comus-0ff301cda68669c59351e5854ce98f2cf460543f.zip |
pull upstream changes, add auto formatting
Diffstat (limited to 'include/list.h')
-rw-r--r-- | include/list.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/list.h b/include/list.h index 28c2377..0be11e9 100644 --- a/include/list.h +++ b/include/list.h @@ -35,7 +35,7 @@ // The list structure typedef struct list_s { - struct list_s *next; // link to the successor + struct list_s *next; // link to the successor } list_t; /* @@ -50,7 +50,7 @@ typedef struct list_s { ** @param[in,out] list The address of a list_t variable ** @param[in] data The data to prepend to the list */ -void list_add( list_t *list, void *data ); +void list_add(list_t *list, void *data); /** ** Name: list_remove @@ -61,7 +61,7 @@ void list_add( list_t *list, void *data ); ** ** @return a pointer to the removed data, or NULL if the list was empty */ -void *list_remove( list_t *list ); +void *list_remove(list_t *list); #endif /* !ASM_SRC */ |