From 8c1ab65c0f548d20b7f177bdb736daaf603340e1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 15:54:38 +0200 Subject: Adding upstream version 0.0~git20221206.8b7148f. Signed-off-by: Daniel Baumann --- libc-bottom-half/headers/private/_/limits.h | 1 + libc-bottom-half/headers/private/_/struct/timespec.h | 1 + libc-bottom-half/headers/private/_/struct/timeval.h | 1 + libc-bottom-half/headers/private/_/types.h | 9 +++++++++ libc-bottom-half/headers/private/assert.h | 7 +++++++ libc-bottom-half/headers/private/common/crt.h | 0 libc-bottom-half/headers/private/errno.h | 2 ++ libc-bottom-half/headers/private/fcntl.h | 2 ++ libc-bottom-half/headers/private/sched.h | 0 libc-bottom-half/headers/private/stdarg.h | 2 ++ libc-bottom-half/headers/private/stdint.h | 12 ++++++++++++ libc-bottom-half/headers/private/stdio.h | 3 +++ libc-bottom-half/headers/private/stdlib.h | 8 ++++++++ libc-bottom-half/headers/private/string.h | 2 ++ libc-bottom-half/headers/private/sys/mman.h | 2 ++ libc-bottom-half/headers/private/threads.h | 3 +++ 16 files changed, 55 insertions(+) create mode 100644 libc-bottom-half/headers/private/_/limits.h create mode 100644 libc-bottom-half/headers/private/_/struct/timespec.h create mode 100644 libc-bottom-half/headers/private/_/struct/timeval.h create mode 100644 libc-bottom-half/headers/private/_/types.h create mode 100644 libc-bottom-half/headers/private/assert.h create mode 100644 libc-bottom-half/headers/private/common/crt.h create mode 100644 libc-bottom-half/headers/private/errno.h create mode 100644 libc-bottom-half/headers/private/fcntl.h create mode 100644 libc-bottom-half/headers/private/sched.h create mode 100644 libc-bottom-half/headers/private/stdarg.h create mode 100644 libc-bottom-half/headers/private/stdint.h create mode 100644 libc-bottom-half/headers/private/stdio.h create mode 100644 libc-bottom-half/headers/private/stdlib.h create mode 100644 libc-bottom-half/headers/private/string.h create mode 100644 libc-bottom-half/headers/private/sys/mman.h create mode 100644 libc-bottom-half/headers/private/threads.h (limited to 'libc-bottom-half/headers/private') diff --git a/libc-bottom-half/headers/private/_/limits.h b/libc-bottom-half/headers/private/_/limits.h new file mode 100644 index 0000000..1e189a1 --- /dev/null +++ b/libc-bottom-half/headers/private/_/limits.h @@ -0,0 +1 @@ +#include diff --git a/libc-bottom-half/headers/private/_/struct/timespec.h b/libc-bottom-half/headers/private/_/struct/timespec.h new file mode 100644 index 0000000..fbe602a --- /dev/null +++ b/libc-bottom-half/headers/private/_/struct/timespec.h @@ -0,0 +1 @@ +#include <__struct_timespec.h> diff --git a/libc-bottom-half/headers/private/_/struct/timeval.h b/libc-bottom-half/headers/private/_/struct/timeval.h new file mode 100644 index 0000000..9cabfd7 --- /dev/null +++ b/libc-bottom-half/headers/private/_/struct/timeval.h @@ -0,0 +1 @@ +#include <__struct_timeval.h> diff --git a/libc-bottom-half/headers/private/_/types.h b/libc-bottom-half/headers/private/_/types.h new file mode 100644 index 0000000..42b17e5 --- /dev/null +++ b/libc-bottom-half/headers/private/_/types.h @@ -0,0 +1,9 @@ +#include <_/cdefs.h> +#include +#include +#include +#include +#include + +typedef uint64_t __uint64_t; +#define _UINT64_C UINT64_C diff --git a/libc-bottom-half/headers/private/assert.h b/libc-bottom-half/headers/private/assert.h new file mode 100644 index 0000000..8e19ff4 --- /dev/null +++ b/libc-bottom-half/headers/private/assert.h @@ -0,0 +1,7 @@ +#include + +#ifndef __cplusplus +#define static_assert _Static_assert +#endif + +#define assert(x) ((void)((x) || (abort(), 0))) diff --git a/libc-bottom-half/headers/private/common/crt.h b/libc-bottom-half/headers/private/common/crt.h new file mode 100644 index 0000000..e69de29 diff --git a/libc-bottom-half/headers/private/errno.h b/libc-bottom-half/headers/private/errno.h new file mode 100644 index 0000000..3b37313 --- /dev/null +++ b/libc-bottom-half/headers/private/errno.h @@ -0,0 +1,2 @@ +#include_next +#define EOPNOTSUPP ENOTSUP diff --git a/libc-bottom-half/headers/private/fcntl.h b/libc-bottom-half/headers/private/fcntl.h new file mode 100644 index 0000000..3210418 --- /dev/null +++ b/libc-bottom-half/headers/private/fcntl.h @@ -0,0 +1,2 @@ +#include_next +#include <_/types.h> diff --git a/libc-bottom-half/headers/private/sched.h b/libc-bottom-half/headers/private/sched.h new file mode 100644 index 0000000..e69de29 diff --git a/libc-bottom-half/headers/private/stdarg.h b/libc-bottom-half/headers/private/stdarg.h new file mode 100644 index 0000000..e019608 --- /dev/null +++ b/libc-bottom-half/headers/private/stdarg.h @@ -0,0 +1,2 @@ +#include_next +#include <_/cdefs.h> diff --git a/libc-bottom-half/headers/private/stdint.h b/libc-bottom-half/headers/private/stdint.h new file mode 100644 index 0000000..1fed338 --- /dev/null +++ b/libc-bottom-half/headers/private/stdint.h @@ -0,0 +1,12 @@ +#include_next + +#define __need_size_t +#include + +#include <__typedef_clock_t.h> +#include <__typedef_time_t.h> +#include <__typedef_blksize_t.h> +#include <__typedef_off_t.h> +#include <__typedef_ssize_t.h> +#include <__typedef_suseconds_t.h> +#include <__typedef_nlink_t.h> diff --git a/libc-bottom-half/headers/private/stdio.h b/libc-bottom-half/headers/private/stdio.h new file mode 100644 index 0000000..b135b6a --- /dev/null +++ b/libc-bottom-half/headers/private/stdio.h @@ -0,0 +1,3 @@ +#include <_/cdefs.h> +int snprintf(char *str, size_t size, const char *format, ...); +int rename(const char *oldpath, const char *newpath); diff --git a/libc-bottom-half/headers/private/stdlib.h b/libc-bottom-half/headers/private/stdlib.h new file mode 100644 index 0000000..8c2b395 --- /dev/null +++ b/libc-bottom-half/headers/private/stdlib.h @@ -0,0 +1,8 @@ +#define __need_size_t +#define __need_wchar_t +#define __need_NULL +#include + +#include_next + +int clearenv(void); diff --git a/libc-bottom-half/headers/private/string.h b/libc-bottom-half/headers/private/string.h new file mode 100644 index 0000000..1c4ce19 --- /dev/null +++ b/libc-bottom-half/headers/private/string.h @@ -0,0 +1,2 @@ +#include_next +#include <_/cdefs.h> diff --git a/libc-bottom-half/headers/private/sys/mman.h b/libc-bottom-half/headers/private/sys/mman.h new file mode 100644 index 0000000..bdd5401 --- /dev/null +++ b/libc-bottom-half/headers/private/sys/mman.h @@ -0,0 +1,2 @@ +#include_next +#include <_/types.h> diff --git a/libc-bottom-half/headers/private/threads.h b/libc-bottom-half/headers/private/threads.h new file mode 100644 index 0000000..b51ef0d --- /dev/null +++ b/libc-bottom-half/headers/private/threads.h @@ -0,0 +1,3 @@ +#ifndef __cplusplus +#define thread_local _Thread_local +#endif -- cgit v1.2.3