X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FKernel%2Finclude%2Facess.h;h=24148e149d02ac6e3fbbb6df3f3307ea7267265e;hb=e07265fe604b8865df0e8c5e4503be3682d9b637;hp=27dbb2a60355dd8da7706589fa2363dded957697;hpb=510431249326d5a44fc502ed5cf798b79a442ce8;p=tpg%2Facess2.git diff --git a/KernelLand/Kernel/include/acess.h b/KernelLand/Kernel/include/acess.h index 27dbb2a6..24148e14 100644 --- a/KernelLand/Kernel/include/acess.h +++ b/KernelLand/Kernel/include/acess.h @@ -9,10 +9,9 @@ * \brief Acess2 Kernel API Core */ +#include #include -//! NULL Pointer -#define NULL ((void*)0) //! Pack a structure #define PACKED __attribute__((packed)) //! Mark a function as not returning @@ -23,8 +22,6 @@ #define DEPRECATED __attribute__((deprecated)) //! Mark a parameter as unused #define UNUSED(x) UNUSED_##x __attribute__((unused)) -//! Get the offset of a member in a structure -#define offsetof(st, m) ((Uint)((char *)&((st *)(0))->m - (char *)0 )) /** * \name Boolean constants