diff options
author | Mike Barcroft <mike@FreeBSD.org> | 2002-08-21 16:20:02 +0000 |
---|---|---|
committer | Mike Barcroft <mike@FreeBSD.org> | 2002-08-21 16:20:02 +0000 |
commit | abbd8902334e8c6409384593b4a2c81f939b47b4 (patch) | |
tree | 7e9e16e835d265de592c113ee6c5d85f9be039cb /sys/sparc64/include/stdarg.h | |
parent | 9884a53c1a3e4753e347c793df6af4bd0298eab2 (diff) | |
download | src-abbd8902334e8c6409384593b4a2c81f939b47b4.tar.gz src-abbd8902334e8c6409384593b4a2c81f939b47b4.zip |
o Merge <machine/ansi.h> and <machine/types.h> into a new header
called <machine/_types.h>.
o <machine/ansi.h> will continue to live so it can define MD clock
macros, which are only MD because of gratuitous differences between
architectures.
o Change all headers to make use of this. This mainly involves
changing:
#ifdef _BSD_FOO_T_
typedef _BSD_FOO_T_ foo_t;
#undef _BSD_FOO_T_
#endif
to:
#ifndef _FOO_T_DECLARED
typedef __foo_t foo_t;
#define _FOO_T_DECLARED
#endif
Concept by: bde
Reviewed by: jake, obrien
Notes
Notes:
svn path=/head/; revision=102227
Diffstat (limited to 'sys/sparc64/include/stdarg.h')
-rw-r--r-- | sys/sparc64/include/stdarg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sparc64/include/stdarg.h b/sys/sparc64/include/stdarg.h index c126af09fda0..f81a67cf9281 100644 --- a/sys/sparc64/include/stdarg.h +++ b/sys/sparc64/include/stdarg.h @@ -41,9 +41,9 @@ #ifndef _MACHINE_STDARG_H_ #define _MACHINE_STDARG_H_ -#include <machine/ansi.h> +#include <sys/_types.h> -typedef _BSD_VA_LIST_ va_list; +typedef __va_list va_list; #if defined(__GNUC__) && (__GNUC__ == 2 && __GNUC_MINOR__ > 95 || __GNUC__ >= 3) |