From f569ce1059f9c0079ec1e77a39a72ddb926ced25 Mon Sep 17 00:00:00 2001 From: mintsuki Date: Tue, 21 Mar 2023 06:18:11 +0100 Subject: [PATCH] Remove C++ specific headers and move them to other repo --- README | 2 +- cfloat | 16 ---------------- ciso646 | 0 climits | 16 ---------------- cstdalign | 16 ---------------- cstdarg | 16 ---------------- cstdbool | 16 ---------------- cstddef | 16 ---------------- cstdint | 16 ---------------- 9 files changed, 1 insertion(+), 113 deletions(-) delete mode 100644 cfloat delete mode 100644 ciso646 delete mode 100644 climits delete mode 100644 cstdalign delete mode 100644 cstdarg delete mode 100644 cstdbool delete mode 100644 cstddef delete mode 100644 cstdint diff --git a/README b/README index a73a857..2ec5c66 100644 --- a/README +++ b/README @@ -1 +1 @@ -This is a collection of freestanding C/C++ headers, for use with GCC or Clang. +This is a collection of freestanding C headers, for use with GCC or Clang. diff --git a/cfloat b/cfloat deleted file mode 100644 index 05b87ba..0000000 --- a/cfloat +++ /dev/null @@ -1,16 +0,0 @@ -#ifndef __cplusplus -#error "Must only use this header with C++" -#endif - -#ifndef _CFLOAT -#define _CFLOAT 1 - -namespace std { - -#define __LIBC_GUARDLESS_INCLUDE -#include -#undef __LIBC_GUARDLESS_INCLUDE - -} - -#endif diff --git a/ciso646 b/ciso646 deleted file mode 100644 index e69de29..0000000 diff --git a/climits b/climits deleted file mode 100644 index 71a822f..0000000 --- a/climits +++ /dev/null @@ -1,16 +0,0 @@ -#ifndef __cplusplus -#error "Must only use this header with C++" -#endif - -#ifndef _CLIMITS -#define _CLIMITS 1 - -namespace std { - -#define __LIBC_GUARDLESS_INCLUDE -#include -#undef __LIBC_GUARDLESS_INCLUDE - -} - -#endif diff --git a/cstdalign b/cstdalign deleted file mode 100644 index 13be892..0000000 --- a/cstdalign +++ /dev/null @@ -1,16 +0,0 @@ -#ifndef __cplusplus -#error "Must only use this header with C++" -#endif - -#ifndef _CSTDALIGN -#define _CSTDALIGN 1 - -namespace std { - -#define __LIBC_GUARDLESS_INCLUDE -#include -#undef __LIBC_GUARDLESS_INCLUDE - -} - -#endif diff --git a/cstdarg b/cstdarg deleted file mode 100644 index b5b4bc3..0000000 --- a/cstdarg +++ /dev/null @@ -1,16 +0,0 @@ -#ifndef __cplusplus -#error "Must only use this header with C++" -#endif - -#ifndef _CSTDARG -#define _CSTDARG 1 - -namespace std { - -#define __LIBC_GUARDLESS_INCLUDE -#include -#undef __LIBC_GUARDLESS_INCLUDE - -} - -#endif diff --git a/cstdbool b/cstdbool deleted file mode 100644 index 3c28ec8..0000000 --- a/cstdbool +++ /dev/null @@ -1,16 +0,0 @@ -#ifndef __cplusplus -#error "Must only use this header with C++" -#endif - -#ifndef _CSTDBOOL -#define _CSTDBOOL 1 - -namespace std { - -#define __LIBC_GUARDLESS_INCLUDE -#include -#undef __LIBC_GUARDLESS_INCLUDE - -} - -#endif diff --git a/cstddef b/cstddef deleted file mode 100644 index 9db84f5..0000000 --- a/cstddef +++ /dev/null @@ -1,16 +0,0 @@ -#ifndef __cplusplus -#error "Must only use this header with C++" -#endif - -#ifndef _CSTDDEF -#define _CSTDDEF 1 - -namespace std { - -#define __LIBC_GUARDLESS_INCLUDE -#include -#undef __LIBC_GUARDLESS_INCLUDE - -} - -#endif diff --git a/cstdint b/cstdint deleted file mode 100644 index a17a5bf..0000000 --- a/cstdint +++ /dev/null @@ -1,16 +0,0 @@ -#ifndef __cplusplus -#error "Must only use this header with C++" -#endif - -#ifndef _CSTDINT -#define _CSTDINT 1 - -namespace std { - -#define __LIBC_GUARDLESS_INCLUDE -#include -#undef __LIBC_GUARDLESS_INCLUDE - -} - -#endif