diff options
author | Warner Losh <imp@FreeBSD.org> | 2018-02-12 14:48:20 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2018-02-12 14:48:20 +0000 |
commit | 62bca778430f98fcd71ef01b9a7d525255c20a9f (patch) | |
tree | 8f6233f7eaef65e66cc8ba2bd1e10c90f52cc62d /sys/powerpc/include/_types.h | |
parent | 982e7bdafc98611dd45a3551031ff73548390269 (diff) | |
download | src-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/powerpc/include/_types.h')
-rw-r--r-- | sys/powerpc/include/_types.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/sys/powerpc/include/_types.h b/sys/powerpc/include/_types.h index 9ed2d8f62a13..83293a60e7d8 100644 --- a/sys/powerpc/include/_types.h +++ b/sys/powerpc/include/_types.h @@ -144,24 +144,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. - */ -#if defined(__GNUCLIKE_BUILTIN_VARARGS) -typedef __builtin_va_list __va_list; /* internally known to gcc */ -#else -typedef struct { - char __gpr; - char __fpr; - char __pad[2]; - char *__stack; - char *__base; -} __va_list; -#endif /* post GCC 2.95 */ -#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_ */ |