From 896e28812c51b9ffdf3efc00c7d7ef699e380a58 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sun, 16 Aug 2020 14:00:51 -0400 Subject: formatting --- src/stddef/NULL.c | 3 --- src/stddef/offsetof.c | 3 --- src/stddef/ptrdiff_t.c | 3 --- src/stddef/size_t.c | 3 --- src/stddef/wchar_t.c | 3 --- 5 files changed, 15 deletions(-) (limited to 'src/stddef') 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 #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 #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(type, member);) 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 #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 #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 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) */ -- cgit v1.2.1