aboutsummaryrefslogtreecommitdiff
path: root/sys/sparc64/include/_types.h
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/sparc64/include/_types.h
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/sparc64/include/_types.h')
-rw-r--r--sys/sparc64/include/_types.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/sys/sparc64/include/_types.h b/sys/sparc64/include/_types.h
index e029cac2455d..bd956b1ac77f 100644
--- a/sys/sparc64/include/_types.h
+++ b/sys/sparc64/include/_types.h
@@ -97,18 +97,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
-typedef char * __va_list;
-#endif /* __GNUCLIKE_BUILTIN_VARARGS */
-#if defined(__GNUCLIKE_BUILTIN_VAALIST) && !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_ */