summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2006-01-06 18:53:07 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2006-01-06 18:53:07 +0000
commit4f6f4abee953638d3409775c050227c9537c9e8c (patch)
tree38d3a984a5a051627704f25d9151930244be39c5 /sys/arch/sparc64
parenta835e97a88caf4a2d77874683640dd0e6c0225d1 (diff)
Adapt things to use __type_t instead of _BSD_TYPE_T_
Add new sys/_types.h header Include machine/_types.h or sys/_types.h where applicable
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/include/bus.h3
-rw-r--r--sys/arch/sparc64/include/stdarg.h6
2 files changed, 4 insertions, 5 deletions
diff --git a/sys/arch/sparc64/include/bus.h b/sys/arch/sparc64/include/bus.h
index 14f61133f02..38ab7a81f64 100644
--- a/sys/arch/sparc64/include/bus.h
+++ b/sys/arch/sparc64/include/bus.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bus.h,v 1.17 2005/07/10 00:23:11 brad Exp $ */
+/* $OpenBSD: bus.h,v 1.18 2006/01/06 18:53:05 millert Exp $ */
/* $NetBSD: bus.h,v 1.31 2001/09/21 15:30:41 wiz Exp $ */
/*-
@@ -73,7 +73,6 @@
#ifndef _SPARC_BUS_H_
#define _SPARC_BUS_H_
-#include <machine/types.h>
#include <machine/ctlreg.h>
/*
diff --git a/sys/arch/sparc64/include/stdarg.h b/sys/arch/sparc64/include/stdarg.h
index 58e56a19799..cd01cc9b967 100644
--- a/sys/arch/sparc64/include/stdarg.h
+++ b/sys/arch/sparc64/include/stdarg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: stdarg.h,v 1.4 2005/12/14 21:46:31 millert Exp $ */
+/* $OpenBSD: stdarg.h,v 1.5 2006/01/06 18:53:05 millert Exp $ */
/* $NetBSD: stdarg.h,v 1.11 2000/07/23 21:36:56 mycroft Exp $ */
/*
@@ -45,7 +45,7 @@
#define _SPARC64_STDARG_H_
#include <sys/cdefs.h>
-#include <machine/ansi.h>
+#include <machine/_types.h>
#ifdef __lint__
#define __builtin_saveregs(t) (0)
@@ -53,7 +53,7 @@
#define __builtin_next_arg(t) ((t) ? 0 : 0)
#endif
-typedef _BSD_VA_LIST_ va_list;
+typedef __va_list va_list;
#define va_start(ap, last) \
(__builtin_next_arg(last), (ap) = (va_list)__builtin_saveregs())