diff options
author | Ian Moffett <ian@osmora.org> | 2024-03-07 17:28:52 -0500 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-03-07 18:24:51 -0500 |
commit | f5e48e94a2f4d4bbd6e5628c7f2afafc6dbcc459 (patch) | |
tree | 93b156621dc0303816b37f60ba88051b702d92f6 /lib/mlibc/options/glibc/include/bits | |
parent | bd5969fc876a10b18613302db7087ef3c40f18e1 (diff) |
build: Build mlibc + add distclean target
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/mlibc/options/glibc/include/bits')
4 files changed, 0 insertions, 94 deletions
diff --git a/lib/mlibc/options/glibc/include/bits/glibc/glibc_assert.h b/lib/mlibc/options/glibc/include/bits/glibc/glibc_assert.h deleted file mode 100644 index 4461c5e..0000000 --- a/lib/mlibc/options/glibc/include/bits/glibc/glibc_assert.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef MLIBC_GLIBC_ASSERT_H -#define MLIBC_GLIBC_ASSERT_H - -#ifdef __cplusplus -extern "C" { -#endif - -#ifndef __MLIBC_ABI_ONLY - -__attribute__ ((__noreturn__)) void __assert_fail_perror(int errno, const char *file, unsigned int line, - const char *function); - -#endif /* !__MLIBC_ABI_ONLY */ - -#ifdef __cplusplus -} -#endif - -#endif /* MLIBC_GLIBC_ASSERT_H */ - -#ifdef NDEBUG - -#undef assert_perror -#define assert_perror(ignore) ((void)0) - -#else /* NDEBUG */ - -#undef assert_perror -#define assert_perror(errno) (!(errno) \ - || (__assert_fail_perror((errno), __FILE__, __LINE__, __func__), 0)) - -#endif /* NDEBUG */ diff --git a/lib/mlibc/options/glibc/include/bits/glibc/glibc_icmp6.h b/lib/mlibc/options/glibc/include/bits/glibc/glibc_icmp6.h deleted file mode 100644 index eafde16..0000000 --- a/lib/mlibc/options/glibc/include/bits/glibc/glibc_icmp6.h +++ /dev/null @@ -1,21 +0,0 @@ -#ifndef _GLIBC_NETINET_ICMP6_H -#define _GLIBC_NETINET_ICMP6_H - -#ifdef __cplusplus -extern "C" { -#endif - -#define ND_OPT_SOURCE_LINKADDR 1 -#define ND_OPT_TARGET_LINKADDR 2 -#define ND_OPT_PREFIX_INFORMATION 3 -#define ND_OPT_REDIRECTED_HEADER 4 -#define ND_OPT_MTU 5 -#define ND_OPT_RTR_ADV_INTERVAL 7 -#define ND_OPT_HOME_AGENT_INFO 8 - -#ifdef __cplusplus -} -#endif - -#endif /* _GLIBC_NETINET_ICMP6_H */ - diff --git a/lib/mlibc/options/glibc/include/bits/glibc/glibc_malloc.h b/lib/mlibc/options/glibc/include/bits/glibc/glibc_malloc.h deleted file mode 100644 index 7ce6c5e..0000000 --- a/lib/mlibc/options/glibc/include/bits/glibc/glibc_malloc.h +++ /dev/null @@ -1,17 +0,0 @@ -#ifndef _GLIBC_MALLOC_H -#define _GLIBC_MALLOC_H - -#ifdef __cplusplus -extern "C" { -#endif - -#include <bits/size_t.h> - -size_t malloc_usable_size(void *ptr); - -#ifdef __cplusplus -} -#endif - -#endif /* _GLIBC_MALLOC_H */ - diff --git a/lib/mlibc/options/glibc/include/bits/glibc/glibc_signal.h b/lib/mlibc/options/glibc/include/bits/glibc/glibc_signal.h deleted file mode 100644 index 4d34e20..0000000 --- a/lib/mlibc/options/glibc/include/bits/glibc/glibc_signal.h +++ /dev/null @@ -1,24 +0,0 @@ -#ifndef MLIBC_GLIBC_SIGNAL_H -#define MLIBC_GLIBC_SIGNAL_H - -#ifdef __cplusplus -extern "C" { -#endif - -#ifndef __MLIBC_ABI_ONLY - -int tgkill(int, int, int); - -#if defined(_GNU_SOURCE) - -typedef void (*sighandler_t)(int); - -#endif - -#endif /* !__MLIBC_ABI_ONLY */ - -#ifdef __cplusplus -} -#endif - -#endif // MLIBC_GLIBC_SIGNAL_H |