aboutsummaryrefslogtreecommitdiff
path: root/sys/x86
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2018-02-12 14:48:20 +0000
committerWarner Losh <imp@FreeBSD.org>2018-02-12 14:48:20 +0000
commit62bca778430f98fcd71ef01b9a7d525255c20a9f (patch)
tree8f6233f7eaef65e66cc8ba2bd1e10c90f52cc62d /sys/x86
parent982e7bdafc98611dd45a3551031ff73548390269 (diff)
downloadsrc-62bca778430f98fcd71ef01b9a7d525255c20a9f.tar.gz
src-62bca778430f98fcd71ef01b9a7d525255c20a9f.zip
Move __va_list and related defines to sys/sys/_types.h
__va_list and related defines are identical in all the ARCH/include/_types.h files. Move them to sys/sys/_types.h Sponsored by: Netflix
Notes
Notes: svn path=/head/; revision=329165
Diffstat (limited to 'sys/x86')
-rw-r--r--sys/x86/include/_types.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/sys/x86/include/_types.h b/sys/x86/include/_types.h
index bfcfee98c026..b459951d0efe 100644
--- a/sys/x86/include/_types.h
+++ b/sys/x86/include/_types.h
@@ -143,26 +143,4 @@ typedef int ___wchar_t;
#define __WCHAR_MIN __INT_MIN /* min value for a wchar_t */
#define __WCHAR_MAX __INT_MAX /* max value for a wchar_t */
-/*
- * Unusual type definitions.
- */
-#ifdef __GNUCLIKE_BUILTIN_VARARGS
-typedef __builtin_va_list __va_list; /* internally known to gcc */
-#else
-#ifdef __LP64__
-struct __s_va_list {
- __uint32_t _pad1[2]; /* gp_offset, fp_offset */
- __uint64_t _pad2[2]; /* overflow_arg_area, reg_save_area */
-};
-typedef struct __s_va_list __va_list;
-#else
-typedef char * __va_list;
-#endif
-#endif
-#if defined(__GNUC_VA_LIST_COMPATIBILITY) && !defined(__GNUC_VA_LIST) \
- && !defined(__NO_GNUC_VA_LIST)
-#define __GNUC_VA_LIST
-typedef __va_list __gnuc_va_list; /* compatibility w/GNU headers*/
-#endif
-
#endif /* !_MACHINE__TYPES_H_ */