From 95cd78840f0891e60f5ebecc8a8eb4fbaf3c2ebf Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Sun, 12 Jan 2025 01:17:36 -0600 Subject: PROJECT RESTRUCTURING Move the entire kernel into its own directory. Create new directories for system commands, libraries and other required essentials for a complete Unix-like operating system. Signed-off-by: Danny Holman --- include/libk/container_of.h | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 include/libk/container_of.h (limited to 'include/libk/container_of.h') diff --git a/include/libk/container_of.h b/include/libk/container_of.h deleted file mode 100644 index fdc400c..0000000 --- a/include/libk/container_of.h +++ /dev/null @@ -1,10 +0,0 @@ -#ifndef LIBK_CONTAINER_OF_H -#define LIBK_CONTAINER_OF_H - -#ifndef container_of -#define container_of(ptr, type, member) ({ \ - const typeof(((type*)0)->member)*__mptr = (ptr); \ - (type*)((char*)__mptr - offsetof(type, member)); }) -#endif - -#endif -- cgit v1.2.3