summaryrefslogtreecommitdiff
path: root/sys/dev/ofw/ofcons.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2004-01-03 14:08:55 +0000
committerMarc Espie <espie@cvs.openbsd.org>2004-01-03 14:08:55 +0000
commitf8086ce091549315cd470bcea8c56fa4ee438f1b (patch)
treed72e268347fd3adc8cb53eaf4269e281dd46ab47 /sys/dev/ofw/ofcons.c
parent31ec8d6d746e8bf365990ee271f1a77c3c1e3d0a (diff)
put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macros
to built-ins, so eventually we will have one version of these files. Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes. okay millert@, drahn@, miod@.
Diffstat (limited to 'sys/dev/ofw/ofcons.c')
-rw-r--r--sys/dev/ofw/ofcons.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ofw/ofcons.c b/sys/dev/ofw/ofcons.c
index 65e7a49c00b..15167ce0324 100644
--- a/sys/dev/ofw/ofcons.c
+++ b/sys/dev/ofw/ofcons.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ofcons.c,v 1.11 2003/08/15 20:32:17 tedu Exp $ */
+/* $OpenBSD: ofcons.c,v 1.12 2004/01/03 14:08:53 espie Exp $ */
/* $NetBSD: ofcons.c,v 1.3 1996/10/13 01:38:11 christos Exp $ */
/*
@@ -43,7 +43,7 @@
#include <dev/ofw/openfirm.h>
-#include <machine/stdarg.h>
+#include <sys/stdarg.h>
struct ofc_softc {
struct device of_dev;