summaryrefslogtreecommitdiff
path: root/src/stddef
diff options
context:
space:
mode:
Diffstat (limited to 'src/stddef')
-rw-r--r--src/stddef/NULL.c3
-rw-r--r--src/stddef/offsetof.c3
-rw-r--r--src/stddef/ptrdiff_t.c3
-rw-r--r--src/stddef/size_t.c3
-rw-r--r--src/stddef/wchar_t.c3
5 files changed, 0 insertions, 15 deletions
diff --git a/src/stddef/NULL.c b/src/stddef/NULL.c
index 330b6b6e..d93bff2f 100644
--- a/src/stddef/NULL.c
+++ b/src/stddef/NULL.c
@@ -1,4 +1,3 @@
-#include <stddef.h>
#define NULL ((void*)0)
/** null pointer **/
@@ -11,7 +10,5 @@ library functions.
/*
UNDEFINED(Dereferencing THIS())
IMPLEMENTATION(The value of THIS(), DEFINITION((void*)0))
-*/
-/*
STDC(1)
*/
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)
*/
diff --git a/src/stddef/ptrdiff_t.c b/src/stddef/ptrdiff_t.c
index 1bbd99c8..c591915a 100644
--- a/src/stddef/ptrdiff_t.c
+++ b/src/stddef/ptrdiff_t.c
@@ -1,4 +1,3 @@
-#include <stddef.h>
#ifdef __LLP64__
# if ! defined __STDC_VERSION__ || __STDC_VERSION__ < 199909L
typedef __int64 ptrdiff_t;
@@ -18,7 +17,5 @@ from another.
/*
TYPEDEF(signed integer)
-*/
-/*
STDC(1)
*/
diff --git a/src/stddef/size_t.c b/src/stddef/size_t.c
index 5435d006..6ec3e04a 100644
--- a/src/stddef/size_t.c
+++ b/src/stddef/size_t.c
@@ -1,4 +1,3 @@
-#include <stddef.h>
#ifdef __LLP64__
# if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199909L
typedef unsigned __int64 size_t;
@@ -18,7 +17,5 @@ OPERATOR(sizeof) operator.
/*
TYPEDEF(unsigned integer)
-*/
-/*
STDC(1)
*/
diff --git a/src/stddef/wchar_t.c b/src/stddef/wchar_t.c
index dc4955fa..eae2d067 100644
--- a/src/stddef/wchar_t.c
+++ b/src/stddef/wchar_t.c
@@ -1,4 +1,3 @@
-#include <stddef.h>
typedef int wchar_t;
/** wide character type **/
@@ -11,7 +10,5 @@ The null character will always have the value LITERAL(0).
/*
TYPEDEF(integer)
-*/
-/*
STDC(1)
*/