diff options
author | 2022-03-29 17:17:34 +0700 | |
---|---|---|
committer | 2022-04-20 17:05:46 -0700 | |
commit | 5a18d07ce3006dbcb3c4cfc7bf1c094a5da19540 (patch) | |
tree | 733f0c3e19f7e9717bb29b31a718fb6a97ef56d3 /lib/test_bitmap.c | |
parent | tools/nolibc/sys: Implement `mmap()` and `munmap()` (diff) | |
download | linux-dev-5a18d07ce3006dbcb3c4cfc7bf1c094a5da19540.tar.xz linux-dev-5a18d07ce3006dbcb3c4cfc7bf1c094a5da19540.zip |
tools/nolibc/types: Implement `offsetof()` and `container_of()` macro
Implement `offsetof()` and `container_of()` macro. The first use case
of these macros is for `malloc()`, `realloc()` and `free()`.
Acked-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Ammar Faizi <ammarfaizi2@gnuweeb.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'lib/test_bitmap.c')
0 files changed, 0 insertions, 0 deletions