aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/musl/include/sys/glibc-types.h
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-03-19 18:31:17 -0700
committerHauke Mehrtens <hauke@hauke-m.de>2021-09-22 19:04:02 +0200
commitb519be1c522da3983277514a81dd83149737fbce (patch)
tree19ed52b20b15c2cc327a556231022038f006f03b /toolchain/musl/include/sys/glibc-types.h
parentaaec2ad13b18086e2aaf9ca9152827c50e578bc0 (diff)
downloadupstream-b519be1c522da3983277514a81dd83149737fbce.tar.gz
upstream-b519be1c522da3983277514a81dd83149737fbce.tar.bz2
upstream-b519be1c522da3983277514a81dd83149737fbce.zip
toolchain/musl: remove several GNU headers
Remove GLOB_ONLYDIR patch. Only fstools relies on it. fstools has been fixed separately. Remove woresize.h file. It seems to be for an old version of GCC. Remove features.h and glibc-types files. Same as above. Remove sys/cdefs.h. This is a deprecated header. Patches to fix packages that use it have already been patched. Tested with all packages in the base tree. They all compile. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'toolchain/musl/include/sys/glibc-types.h')
-rw-r--r--toolchain/musl/include/sys/glibc-types.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/toolchain/musl/include/sys/glibc-types.h b/toolchain/musl/include/sys/glibc-types.h
deleted file mode 100644
index fa0684ced2..0000000000
--- a/toolchain/musl/include/sys/glibc-types.h
+++ /dev/null
@@ -1,35 +0,0 @@
-#ifndef __MUSL_GLIBC_TYPES_H
-#define __MUSL_GLIBC_TYPES_H
-
-#include <sys/cdefs.h>
-
-/* Convenience types. */
-typedef unsigned char __u_char;
-typedef unsigned short int __u_short;
-typedef unsigned int __u_int;
-typedef unsigned long int __u_long;
-
-/* Fixed-size types, underlying types depend on word size and compiler. */
-typedef signed char __int8_t;
-typedef unsigned char __uint8_t;
-typedef signed short int __int16_t;
-typedef unsigned short int __uint16_t;
-typedef signed int __int32_t;
-typedef unsigned int __uint32_t;
-#if __WORDSIZE == 64
-typedef signed long int __int64_t;
-typedef unsigned long int __uint64_t;
-#else
-__extension__ typedef signed long long int __int64_t;
-__extension__ typedef unsigned long long int __uint64_t;
-#endif
-
-#define __off64_t off_t
-#define __loff_t off_t
-typedef char *__caddr_t;
-#define __locale_t locale_t
-
-#define __gid_t gid_t
-#define __uid_t uid_t
-
-#endif