clist: add circular list api
This commit is contained in:
parent
a34fd6caaa
commit
89e7a4eb47
5 changed files with 212 additions and 4 deletions
|
|
@ -3,11 +3,11 @@
|
|||
#include <stdarg.h> /* from clang */
|
||||
#include <string.h>
|
||||
|
||||
#include <gay/cdefs.h>
|
||||
#include <gay/config.h>
|
||||
#include <gay/errno.h>
|
||||
#include <gay/kprintf.h>
|
||||
#include <gay/types.h>
|
||||
#include <gay/util.h>
|
||||
|
||||
#if __SIZEOF_INT__ == 2
|
||||
/* 5 decimal digits of 65535 (2 ** 16 - 1) */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue