[hackers] [scc] [libc] Move all the architecuter bits to bits || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Thu, 16 Feb 2017 17:24:35 +0100 (CET)

commit 58254c7ee093aad4ec1573667dcf55b4375059ad
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Thu Feb 16 17:23:55 2017 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Thu Feb 16 17:23:55 2017 +0100

    [libc] Move all the architecuter bits to bits
    
    It helps to keep a cleaner include/ directory.

diff --git a/inc/sysincludes.def.h b/inc/sysincludes.def.h
index 4c338b8..4f6975b 100644
--- a/inc/sysincludes.def.h
+++ b/inc/sysincludes.def.h
_AT_@ -1,7 +1,6 @@
 char *sysincludes[] = {
         PREFIX "/include/scc/" ,
- PREFIX "/include/scc/" ARCH "/",
- PREFIX "/include/scc/" ARCH "/arch/",
+ PREFIX "/include/scc/bits/" ARCH "/",
         /* configure below your standard sys include paths */
         PREFIX "/include/",
         PREFIX "/local/include/",
diff --git a/libc/include/amd64-sysv/arch/stdint.h b/libc/include/amd64-sysv/arch/stdint.h
deleted file mode 100644
index d23765f..0000000
--- a/libc/include/amd64-sysv/arch/stdint.h
+++ /dev/null
_AT_@ -1,37 +0,0 @@
-/* See LICENSE file for copyright and license details. */
-
-typedef signed char int8_t;
-typedef short int16_t;
-typedef int int32_t;
-typedef long int64_t;
-
-typedef unsigned char uint8_t;
-typedef unsigned short uint16_t;
-typedef unsigned int uint32_t;
-typedef unsigned long uint64_t;
-
-typedef signed char int8_least_t;
-typedef short int16_least_t;
-typedef int int32_least_t;
-typedef long int64_least_t;
-
-typedef unsigned char uint8_least_t;
-typedef unsigned short uint16_least_t;
-typedef unsigned int uint32_least_t;
-typedef unsigned long uint64_least_t;
-
-typedef int int8_fast_t;
-typedef int int16_fast_t;
-typedef int int32_fast_t;
-typedef long int64_fast_t;
-
-typedef unsigned int8_fast_t;
-typedef unsigned int16_fast_t;
-typedef unsigned int32_fast_t;
-typedef unsigned long int64_fast_t;
-
-typedef long intptr_t;
-typedef unsigned long uintptr_t;
-
-typedef long intmax_t;
-typedef unsigned long uintmax_t;
diff --git a/libc/include/amd64-sysv/arch/stdio.h b/libc/include/amd64-sysv/arch/stdio.h
deleted file mode 100644
index d35960e..0000000
--- a/libc/include/amd64-sysv/arch/stdio.h
+++ /dev/null
_AT_@ -1,18 +0,0 @@
-/* See LICENSE file for copyright and license details. */
-#ifndef NULL
-#define NULL ((void *) 0)
-#endif
-
-#ifndef _SIZET
-typedef unsigned long size_t;
-#define _SIZET
-#endif
-
-#define BUFSIZ 512
-#define FILENAME_MAX 256
-#define FOPEN_MAX 16
-
-#define TMP_MAX 25
-#define L_tmpnam 256
-
-typedef struct _FILE FILE;
diff --git a/libc/include/amd64-sysv/arch/stdlib.h b/libc/include/amd64-sysv/arch/stdlib.h
deleted file mode 100644
index c9474e6..0000000
--- a/libc/include/amd64-sysv/arch/stdlib.h
+++ /dev/null
_AT_@ -1,14 +0,0 @@
-/* See LICENSE file for copyright and license details. */
-
-#ifndef _SIZET
-typedef unsigned long size_t;
-#define _SIZET
-#endif
-
-#ifndef NULL
-#define NULL ((void *) 0)
-#endif
-
-#define EXIT_FAILURE 1
-#define EXIT_SUCCESS 0
-#define RAND_MAX 32767
diff --git a/libc/include/amd64-sysv/arch/string.h b/libc/include/amd64-sysv/arch/string.h
deleted file mode 100644
index 3f462d2..0000000
--- a/libc/include/amd64-sysv/arch/string.h
+++ /dev/null
_AT_@ -1,9 +0,0 @@
-/* See LICENSE file for copyright and license details. */
-
-#ifndef NULL
-#define NULL ((void *) 0)
-#endif
-
-#ifndef _SIZET
-typedef unsigned size_t;
-#endif
diff --git a/libc/include/bits/amd64-sysv/arch/stdint.h b/libc/include/bits/amd64-sysv/arch/stdint.h
new file mode 100644
index 0000000..d23765f
--- /dev/null
+++ b/libc/include/bits/amd64-sysv/arch/stdint.h
_AT_@ -0,0 +1,37 @@
+/* See LICENSE file for copyright and license details. */
+
+typedef signed char int8_t;
+typedef short int16_t;
+typedef int int32_t;
+typedef long int64_t;
+
+typedef unsigned char uint8_t;
+typedef unsigned short uint16_t;
+typedef unsigned int uint32_t;
+typedef unsigned long uint64_t;
+
+typedef signed char int8_least_t;
+typedef short int16_least_t;
+typedef int int32_least_t;
+typedef long int64_least_t;
+
+typedef unsigned char uint8_least_t;
+typedef unsigned short uint16_least_t;
+typedef unsigned int uint32_least_t;
+typedef unsigned long uint64_least_t;
+
+typedef int int8_fast_t;
+typedef int int16_fast_t;
+typedef int int32_fast_t;
+typedef long int64_fast_t;
+
+typedef unsigned int8_fast_t;
+typedef unsigned int16_fast_t;
+typedef unsigned int32_fast_t;
+typedef unsigned long int64_fast_t;
+
+typedef long intptr_t;
+typedef unsigned long uintptr_t;
+
+typedef long intmax_t;
+typedef unsigned long uintmax_t;
diff --git a/libc/include/bits/amd64-sysv/arch/stdio.h b/libc/include/bits/amd64-sysv/arch/stdio.h
new file mode 100644
index 0000000..d35960e
--- /dev/null
+++ b/libc/include/bits/amd64-sysv/arch/stdio.h
_AT_@ -0,0 +1,18 @@
+/* See LICENSE file for copyright and license details. */
+#ifndef NULL
+#define NULL ((void *) 0)
+#endif
+
+#ifndef _SIZET
+typedef unsigned long size_t;
+#define _SIZET
+#endif
+
+#define BUFSIZ 512
+#define FILENAME_MAX 256
+#define FOPEN_MAX 16
+
+#define TMP_MAX 25
+#define L_tmpnam 256
+
+typedef struct _FILE FILE;
diff --git a/libc/include/bits/amd64-sysv/arch/stdlib.h b/libc/include/bits/amd64-sysv/arch/stdlib.h
new file mode 100644
index 0000000..c9474e6
--- /dev/null
+++ b/libc/include/bits/amd64-sysv/arch/stdlib.h
_AT_@ -0,0 +1,14 @@
+/* See LICENSE file for copyright and license details. */
+
+#ifndef _SIZET
+typedef unsigned long size_t;
+#define _SIZET
+#endif
+
+#ifndef NULL
+#define NULL ((void *) 0)
+#endif
+
+#define EXIT_FAILURE 1
+#define EXIT_SUCCESS 0
+#define RAND_MAX 32767
diff --git a/libc/include/bits/amd64-sysv/arch/string.h b/libc/include/bits/amd64-sysv/arch/string.h
new file mode 100644
index 0000000..3f462d2
--- /dev/null
+++ b/libc/include/bits/amd64-sysv/arch/string.h
_AT_@ -0,0 +1,9 @@
+/* See LICENSE file for copyright and license details. */
+
+#ifndef NULL
+#define NULL ((void *) 0)
+#endif
+
+#ifndef _SIZET
+typedef unsigned size_t;
+#endif
diff --git a/libc/include/bits/i386-sysv/arch/stdint.h b/libc/include/bits/i386-sysv/arch/stdint.h
new file mode 100644
index 0000000..f9686ce
--- /dev/null
+++ b/libc/include/bits/i386-sysv/arch/stdint.h
_AT_@ -0,0 +1,38 @@
+/* See LICENSE file for copyright and license details. */
+
+typedef signed char int8_t;
+typedef short int16_t;
+typedef int int32_t;
+typedef long long int64_t;
+
+typedef unsigned char uint8_t;
+typedef unsigned short uint16_t;
+typedef unsigned uint32_t;
+typedef unsigned long long uint64_t;
+
+typedef signed char int8_least_t;
+typedef short int16_least_t;
+typedef int int32_least_t;
+typedef long long int64_least_t;
+
+typedef unsigned char uint8_least_t;
+typedef unsigned short uint16_least_t;
+typedef unsigned uint32_least_t;
+typedef unsigned long long uint64_least_t;
+
+typedef int int8_fast_t;
+typedef int int16_fast_t;
+typedef int int32_fast_t;
+typedef long long int64_fast_t;
+
+typedef unsigned int8_fast_t;
+typedef unsigned int16_fast_t;
+typedef unsigned int32_fast_t;
+typedef unsigned long long int64_fast_t;
+
+typedef intptr_t long;
+typedef long long uintptr_t unsigned;
+
+typedef intmax_t long;
+typedef long long uintmax_t unsigned;
+
diff --git a/libc/include/bits/i386-sysv/arch/stdio.h b/libc/include/bits/i386-sysv/arch/stdio.h
new file mode 100644
index 0000000..d35960e
--- /dev/null
+++ b/libc/include/bits/i386-sysv/arch/stdio.h
_AT_@ -0,0 +1,18 @@
+/* See LICENSE file for copyright and license details. */
+#ifndef NULL
+#define NULL ((void *) 0)
+#endif
+
+#ifndef _SIZET
+typedef unsigned long size_t;
+#define _SIZET
+#endif
+
+#define BUFSIZ 512
+#define FILENAME_MAX 256
+#define FOPEN_MAX 16
+
+#define TMP_MAX 25
+#define L_tmpnam 256
+
+typedef struct _FILE FILE;
diff --git a/libc/include/bits/i386-sysv/arch/stdlib.h b/libc/include/bits/i386-sysv/arch/stdlib.h
new file mode 100644
index 0000000..c9474e6
--- /dev/null
+++ b/libc/include/bits/i386-sysv/arch/stdlib.h
_AT_@ -0,0 +1,14 @@
+/* See LICENSE file for copyright and license details. */
+
+#ifndef _SIZET
+typedef unsigned long size_t;
+#define _SIZET
+#endif
+
+#ifndef NULL
+#define NULL ((void *) 0)
+#endif
+
+#define EXIT_FAILURE 1
+#define EXIT_SUCCESS 0
+#define RAND_MAX 32767
diff --git a/libc/include/bits/i386-sysv/arch/string.h b/libc/include/bits/i386-sysv/arch/string.h
new file mode 100644
index 0000000..3f462d2
--- /dev/null
+++ b/libc/include/bits/i386-sysv/arch/string.h
_AT_@ -0,0 +1,9 @@
+/* See LICENSE file for copyright and license details. */
+
+#ifndef NULL
+#define NULL ((void *) 0)
+#endif
+
+#ifndef _SIZET
+typedef unsigned size_t;
+#endif
diff --git a/libc/include/bits/qbe/arch/stdint.h b/libc/include/bits/qbe/arch/stdint.h
new file mode 100644
index 0000000..d23765f
--- /dev/null
+++ b/libc/include/bits/qbe/arch/stdint.h
_AT_@ -0,0 +1,37 @@
+/* See LICENSE file for copyright and license details. */
+
+typedef signed char int8_t;
+typedef short int16_t;
+typedef int int32_t;
+typedef long int64_t;
+
+typedef unsigned char uint8_t;
+typedef unsigned short uint16_t;
+typedef unsigned int uint32_t;
+typedef unsigned long uint64_t;
+
+typedef signed char int8_least_t;
+typedef short int16_least_t;
+typedef int int32_least_t;
+typedef long int64_least_t;
+
+typedef unsigned char uint8_least_t;
+typedef unsigned short uint16_least_t;
+typedef unsigned int uint32_least_t;
+typedef unsigned long uint64_least_t;
+
+typedef int int8_fast_t;
+typedef int int16_fast_t;
+typedef int int32_fast_t;
+typedef long int64_fast_t;
+
+typedef unsigned int8_fast_t;
+typedef unsigned int16_fast_t;
+typedef unsigned int32_fast_t;
+typedef unsigned long int64_fast_t;
+
+typedef long intptr_t;
+typedef unsigned long uintptr_t;
+
+typedef long intmax_t;
+typedef unsigned long uintmax_t;
diff --git a/libc/include/bits/qbe/arch/stdio.h b/libc/include/bits/qbe/arch/stdio.h
new file mode 100644
index 0000000..d35960e
--- /dev/null
+++ b/libc/include/bits/qbe/arch/stdio.h
_AT_@ -0,0 +1,18 @@
+/* See LICENSE file for copyright and license details. */
+#ifndef NULL
+#define NULL ((void *) 0)
+#endif
+
+#ifndef _SIZET
+typedef unsigned long size_t;
+#define _SIZET
+#endif
+
+#define BUFSIZ 512
+#define FILENAME_MAX 256
+#define FOPEN_MAX 16
+
+#define TMP_MAX 25
+#define L_tmpnam 256
+
+typedef struct _FILE FILE;
diff --git a/libc/include/bits/qbe/arch/stdlib.h b/libc/include/bits/qbe/arch/stdlib.h
new file mode 100644
index 0000000..c9474e6
--- /dev/null
+++ b/libc/include/bits/qbe/arch/stdlib.h
_AT_@ -0,0 +1,14 @@
+/* See LICENSE file for copyright and license details. */
+
+#ifndef _SIZET
+typedef unsigned long size_t;
+#define _SIZET
+#endif
+
+#ifndef NULL
+#define NULL ((void *) 0)
+#endif
+
+#define EXIT_FAILURE 1
+#define EXIT_SUCCESS 0
+#define RAND_MAX 32767
diff --git a/libc/include/bits/qbe/arch/string.h b/libc/include/bits/qbe/arch/string.h
new file mode 100644
index 0000000..3f462d2
--- /dev/null
+++ b/libc/include/bits/qbe/arch/string.h
_AT_@ -0,0 +1,9 @@
+/* See LICENSE file for copyright and license details. */
+
+#ifndef NULL
+#define NULL ((void *) 0)
+#endif
+
+#ifndef _SIZET
+typedef unsigned size_t;
+#endif
diff --git a/libc/include/bits/z80/arch/stdint.h b/libc/include/bits/z80/arch/stdint.h
new file mode 100644
index 0000000..e05b4fd
--- /dev/null
+++ b/libc/include/bits/z80/arch/stdint.h
_AT_@ -0,0 +1,37 @@
+/* See LICENSE file for copyright and license details. */
+
+typedef signed char int8_t;
+typedef int int16_t;
+typedef long int32_t;
+typedef long long int64_t;
+
+typedef unsigned char uint8_t;
+typedef unsigned uint16_t;
+typedef unsigned long uint32_t;
+typedef unsigned long long uint64_t;
+
+typedef signed char int8_least_t;
+typedef int int16_least_t;
+typedef long int32_least_t;
+typedef long long int64_least_t;
+
+typedef unsigned char uint8_least_t;
+typedef unsigned uint16_least_t;
+typedef unsigned long uint32_least_t;
+typedef unsigned long long uint64_least_t;
+
+typedef signed char int8_fast_t;
+typedef int int16_fast_t;
+typedef long int32_fast_t;
+typedef long long int64_fast_t;
+
+typedef unsigned char uint8_fast_t;
+typedef unsigned uint16_fast_t;
+typedef unsigned long uint32_fast_t;
+typedef unsigned long long uint64_fast_t;
+
+typedef int intptr_t;
+typedef unsigned uintptr_t;
+
+typedef long long intmax_t;
+typedef unsigned long long uintmax_t;
diff --git a/libc/include/bits/z80/arch/stdio.h b/libc/include/bits/z80/arch/stdio.h
new file mode 100644
index 0000000..cfd0d3d
--- /dev/null
+++ b/libc/include/bits/z80/arch/stdio.h
_AT_@ -0,0 +1,18 @@
+/* See LICENSE file for copyright and license details. */
+#ifndef NULL
+#define NULL ((void *) 0)
+#endif
+
+#ifndef _SIZET
+typedef unsigned size_t;
+#define _SIZET
+#endif
+
+#define BUFSIZ 512
+#define FILENAME_MAX 256
+#define FOPEN_MAX 16
+
+#define TMP_MAX 25
+#define L_tmpnam 256
+
+typedef struct _FILE FILE;
diff --git a/libc/include/bits/z80/arch/stdlib.h b/libc/include/bits/z80/arch/stdlib.h
new file mode 100644
index 0000000..aa817a0
--- /dev/null
+++ b/libc/include/bits/z80/arch/stdlib.h
_AT_@ -0,0 +1,14 @@
+/* See LICENSE file for copyright and license details. */
+
+#ifndef _SIZET
+typedef unsigned size_t;
+#define _SIZET
+#endif
+
+#ifndef NULL
+#define NULL ((void *) 0)
+#endif
+
+#define EXIT_FAILURE 1
+#define EXIT_SUCCESS 0
+#define RAND_MAX 32767
diff --git a/libc/include/bits/z80/arch/string.h b/libc/include/bits/z80/arch/string.h
new file mode 100644
index 0000000..3f462d2
--- /dev/null
+++ b/libc/include/bits/z80/arch/string.h
_AT_@ -0,0 +1,9 @@
+/* See LICENSE file for copyright and license details. */
+
+#ifndef NULL
+#define NULL ((void *) 0)
+#endif
+
+#ifndef _SIZET
+typedef unsigned size_t;
+#endif
diff --git a/libc/include/i386-sysv/arch/stdint.h b/libc/include/i386-sysv/arch/stdint.h
deleted file mode 100644
index f9686ce..0000000
--- a/libc/include/i386-sysv/arch/stdint.h
+++ /dev/null
_AT_@ -1,38 +0,0 @@
-/* See LICENSE file for copyright and license details. */
-
-typedef signed char int8_t;
-typedef short int16_t;
-typedef int int32_t;
-typedef long long int64_t;
-
-typedef unsigned char uint8_t;
-typedef unsigned short uint16_t;
-typedef unsigned uint32_t;
-typedef unsigned long long uint64_t;
-
-typedef signed char int8_least_t;
-typedef short int16_least_t;
-typedef int int32_least_t;
-typedef long long int64_least_t;
-
-typedef unsigned char uint8_least_t;
-typedef unsigned short uint16_least_t;
-typedef unsigned uint32_least_t;
-typedef unsigned long long uint64_least_t;
-
-typedef int int8_fast_t;
-typedef int int16_fast_t;
-typedef int int32_fast_t;
-typedef long long int64_fast_t;
-
-typedef unsigned int8_fast_t;
-typedef unsigned int16_fast_t;
-typedef unsigned int32_fast_t;
-typedef unsigned long long int64_fast_t;
-
-typedef intptr_t long;
-typedef long long uintptr_t unsigned;
-
-typedef intmax_t long;
-typedef long long uintmax_t unsigned;
-
diff --git a/libc/include/i386-sysv/arch/stdio.h b/libc/include/i386-sysv/arch/stdio.h
deleted file mode 100644
index d35960e..0000000
--- a/libc/include/i386-sysv/arch/stdio.h
+++ /dev/null
_AT_@ -1,18 +0,0 @@
-/* See LICENSE file for copyright and license details. */
-#ifndef NULL
-#define NULL ((void *) 0)
-#endif
-
-#ifndef _SIZET
-typedef unsigned long size_t;
-#define _SIZET
-#endif
-
-#define BUFSIZ 512
-#define FILENAME_MAX 256
-#define FOPEN_MAX 16
-
-#define TMP_MAX 25
-#define L_tmpnam 256
-
-typedef struct _FILE FILE;
diff --git a/libc/include/i386-sysv/arch/stdlib.h b/libc/include/i386-sysv/arch/stdlib.h
deleted file mode 100644
index c9474e6..0000000
--- a/libc/include/i386-sysv/arch/stdlib.h
+++ /dev/null
_AT_@ -1,14 +0,0 @@
-/* See LICENSE file for copyright and license details. */
-
-#ifndef _SIZET
-typedef unsigned long size_t;
-#define _SIZET
-#endif
-
-#ifndef NULL
-#define NULL ((void *) 0)
-#endif
-
-#define EXIT_FAILURE 1
-#define EXIT_SUCCESS 0
-#define RAND_MAX 32767
diff --git a/libc/include/i386-sysv/arch/string.h b/libc/include/i386-sysv/arch/string.h
deleted file mode 100644
index 3f462d2..0000000
--- a/libc/include/i386-sysv/arch/string.h
+++ /dev/null
_AT_@ -1,9 +0,0 @@
-/* See LICENSE file for copyright and license details. */
-
-#ifndef NULL
-#define NULL ((void *) 0)
-#endif
-
-#ifndef _SIZET
-typedef unsigned size_t;
-#endif
diff --git a/libc/include/qbe/arch/stdint.h b/libc/include/qbe/arch/stdint.h
deleted file mode 100644
index d23765f..0000000
--- a/libc/include/qbe/arch/stdint.h
+++ /dev/null
_AT_@ -1,37 +0,0 @@
-/* See LICENSE file for copyright and license details. */
-
-typedef signed char int8_t;
-typedef short int16_t;
-typedef int int32_t;
-typedef long int64_t;
-
-typedef unsigned char uint8_t;
-typedef unsigned short uint16_t;
-typedef unsigned int uint32_t;
-typedef unsigned long uint64_t;
-
-typedef signed char int8_least_t;
-typedef short int16_least_t;
-typedef int int32_least_t;
-typedef long int64_least_t;
-
-typedef unsigned char uint8_least_t;
-typedef unsigned short uint16_least_t;
-typedef unsigned int uint32_least_t;
-typedef unsigned long uint64_least_t;
-
-typedef int int8_fast_t;
-typedef int int16_fast_t;
-typedef int int32_fast_t;
-typedef long int64_fast_t;
-
-typedef unsigned int8_fast_t;
-typedef unsigned int16_fast_t;
-typedef unsigned int32_fast_t;
-typedef unsigned long int64_fast_t;
-
-typedef long intptr_t;
-typedef unsigned long uintptr_t;
-
-typedef long intmax_t;
-typedef unsigned long uintmax_t;
diff --git a/libc/include/qbe/arch/stdio.h b/libc/include/qbe/arch/stdio.h
deleted file mode 100644
index d35960e..0000000
--- a/libc/include/qbe/arch/stdio.h
+++ /dev/null
_AT_@ -1,18 +0,0 @@
-/* See LICENSE file for copyright and license details. */
-#ifndef NULL
-#define NULL ((void *) 0)
-#endif
-
-#ifndef _SIZET
-typedef unsigned long size_t;
-#define _SIZET
-#endif
-
-#define BUFSIZ 512
-#define FILENAME_MAX 256
-#define FOPEN_MAX 16
-
-#define TMP_MAX 25
-#define L_tmpnam 256
-
-typedef struct _FILE FILE;
diff --git a/libc/include/qbe/arch/stdlib.h b/libc/include/qbe/arch/stdlib.h
deleted file mode 100644
index c9474e6..0000000
--- a/libc/include/qbe/arch/stdlib.h
+++ /dev/null
_AT_@ -1,14 +0,0 @@
-/* See LICENSE file for copyright and license details. */
-
-#ifndef _SIZET
-typedef unsigned long size_t;
-#define _SIZET
-#endif
-
-#ifndef NULL
-#define NULL ((void *) 0)
-#endif
-
-#define EXIT_FAILURE 1
-#define EXIT_SUCCESS 0
-#define RAND_MAX 32767
diff --git a/libc/include/qbe/arch/string.h b/libc/include/qbe/arch/string.h
deleted file mode 100644
index 3f462d2..0000000
--- a/libc/include/qbe/arch/string.h
+++ /dev/null
_AT_@ -1,9 +0,0 @@
-/* See LICENSE file for copyright and license details. */
-
-#ifndef NULL
-#define NULL ((void *) 0)
-#endif
-
-#ifndef _SIZET
-typedef unsigned size_t;
-#endif
diff --git a/libc/include/z80/arch/stdint.h b/libc/include/z80/arch/stdint.h
deleted file mode 100644
index e05b4fd..0000000
--- a/libc/include/z80/arch/stdint.h
+++ /dev/null
_AT_@ -1,37 +0,0 @@
-/* See LICENSE file for copyright and license details. */
-
-typedef signed char int8_t;
-typedef int int16_t;
-typedef long int32_t;
-typedef long long int64_t;
-
-typedef unsigned char uint8_t;
-typedef unsigned uint16_t;
-typedef unsigned long uint32_t;
-typedef unsigned long long uint64_t;
-
-typedef signed char int8_least_t;
-typedef int int16_least_t;
-typedef long int32_least_t;
-typedef long long int64_least_t;
-
-typedef unsigned char uint8_least_t;
-typedef unsigned uint16_least_t;
-typedef unsigned long uint32_least_t;
-typedef unsigned long long uint64_least_t;
-
-typedef signed char int8_fast_t;
-typedef int int16_fast_t;
-typedef long int32_fast_t;
-typedef long long int64_fast_t;
-
-typedef unsigned char uint8_fast_t;
-typedef unsigned uint16_fast_t;
-typedef unsigned long uint32_fast_t;
-typedef unsigned long long uint64_fast_t;
-
-typedef int intptr_t;
-typedef unsigned uintptr_t;
-
-typedef long long intmax_t;
-typedef unsigned long long uintmax_t;
diff --git a/libc/include/z80/arch/stdio.h b/libc/include/z80/arch/stdio.h
deleted file mode 100644
index cfd0d3d..0000000
--- a/libc/include/z80/arch/stdio.h
+++ /dev/null
_AT_@ -1,18 +0,0 @@
-/* See LICENSE file for copyright and license details. */
-#ifndef NULL
-#define NULL ((void *) 0)
-#endif
-
-#ifndef _SIZET
-typedef unsigned size_t;
-#define _SIZET
-#endif
-
-#define BUFSIZ 512
-#define FILENAME_MAX 256
-#define FOPEN_MAX 16
-
-#define TMP_MAX 25
-#define L_tmpnam 256
-
-typedef struct _FILE FILE;
diff --git a/libc/include/z80/arch/stdlib.h b/libc/include/z80/arch/stdlib.h
deleted file mode 100644
index aa817a0..0000000
--- a/libc/include/z80/arch/stdlib.h
+++ /dev/null
_AT_@ -1,14 +0,0 @@
-/* See LICENSE file for copyright and license details. */
-
-#ifndef _SIZET
-typedef unsigned size_t;
-#define _SIZET
-#endif
-
-#ifndef NULL
-#define NULL ((void *) 0)
-#endif
-
-#define EXIT_FAILURE 1
-#define EXIT_SUCCESS 0
-#define RAND_MAX 32767
diff --git a/libc/include/z80/arch/string.h b/libc/include/z80/arch/string.h
deleted file mode 100644
index 3f462d2..0000000
--- a/libc/include/z80/arch/string.h
+++ /dev/null
_AT_@ -1,9 +0,0 @@
-/* See LICENSE file for copyright and license details. */
-
-#ifndef NULL
-#define NULL ((void *) 0)
-#endif
-
-#ifndef _SIZET
-typedef unsigned size_t;
-#endif
Received on Thu Feb 16 2017 - 17:24:35 CET

This archive was generated by hypermail 2.3.0 : Thu Feb 16 2017 - 17:36:43 CET