Add missing errors to struct
This commit is contained in:
parent
7fe0554931
commit
eecd3f97ee
9
llist.c
9
llist.c
|
@ -61,6 +61,15 @@ struct corelibs_llist_interface const llist = {
|
|||
.cont = corelibs_llist_get_cont,
|
||||
.next = corelibs_llist_get_next,
|
||||
},
|
||||
.err = {
|
||||
.ok = CORELIBS_LLIST_ERR_OK,
|
||||
.unknown = CORELIBS_LLIST_ERR_UNK,
|
||||
.undef = CORELIBS_LLIST_ERR_UNDEF,
|
||||
.mem = {
|
||||
.null = CORELIBS_LLIST_ERR_NULL,
|
||||
.alloc = CORELIBS_LLIST_ERR_ALLOC,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
static llist_err
|
||||
|
|
Reference in New Issue