summaryrefslogtreecommitdiff
path: root/src/stddef/offsetof.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stddef/offsetof.c')
-rw-r--r--src/stddef/offsetof.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/stddef/offsetof.c b/src/stddef/offsetof.c
index 15b7a5f3..2b0d158e 100644
--- a/src/stddef/offsetof.c
+++ b/src/stddef/offsetof.c
@@ -1,4 +1,3 @@
-#include <stddef.h>
#define offsetof(__type, __member) ((size_t)((void*)&(((__type*)0)->__member)))
/** get offset of a structure member **/
@@ -11,7 +10,5 @@ determines the offset, in bytes, of a specified field in a TYPE(struct).
PROTOTYPE(size_t offsetof(<var>type</var>, <var>member</var>);)
RETURN_SUCCESS(the offset of ARGUMENT(member) in ARGUMENT(type))
UNDEFINED(ARGUMENT(member) is a bit-field)
-*/
-/*
STDC(1)
*/