Loading system/osi/include/osi.h +1 −1 Original line number Diff line number Diff line Loading @@ -3,5 +3,5 @@ #include <stdbool.h> #include <stdint.h> #define UNUSED __attribute__((unused)) #define UNUSED_ATTR __attribute__((unused)) #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) system/osi/src/list.c +1 −1 Original line number Diff line number Diff line Loading @@ -185,7 +185,7 @@ const list_node_t *list_begin(const list_t *list) { // this function returns the value of an invalid iterator for the given list. // When an iterator has the same value as what's returned by this function, you // may no longer call |list_next| with the iterator. |list| may not be NULL. const list_node_t *list_end(UNUSED const list_t *list) { const list_node_t *list_end(UNUSED_ATTR const list_t *list) { assert(list != NULL); return NULL; } Loading Loading
system/osi/include/osi.h +1 −1 Original line number Diff line number Diff line Loading @@ -3,5 +3,5 @@ #include <stdbool.h> #include <stdint.h> #define UNUSED __attribute__((unused)) #define UNUSED_ATTR __attribute__((unused)) #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
system/osi/src/list.c +1 −1 Original line number Diff line number Diff line Loading @@ -185,7 +185,7 @@ const list_node_t *list_begin(const list_t *list) { // this function returns the value of an invalid iterator for the given list. // When an iterator has the same value as what's returned by this function, you // may no longer call |list_next| with the iterator. |list| may not be NULL. const list_node_t *list_end(UNUSED const list_t *list) { const list_node_t *list_end(UNUSED_ATTR const list_t *list) { assert(list != NULL); return NULL; } Loading