summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-07-20 11:28:41 +0000
committerbde <bde@FreeBSD.org>1997-07-20 11:28:41 +0000
commitd93a74362e1ef3c6a5cc1b7bd90bfde00c6ffaab (patch)
tree65ffed98ddacea45c21ba363633beb067f0b4204 /sys
parenta9c8ec248b17683dbdbe594f3db1e078b5d2fa4f (diff)
downloadFreeBSD-src-d93a74362e1ef3c6a5cc1b7bd90bfde00c6ffaab.zip
FreeBSD-src-d93a74362e1ef3c6a5cc1b7bd90bfde00c6ffaab.tar.gz
#include <machine/stdarg.h> in the one place in pcvt that it is used
instead of centrally.
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/isa/pcvt/pcvt_drv.c6
-rw-r--r--sys/i386/isa/pcvt/pcvt_hdr.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/i386/isa/pcvt/pcvt_drv.c b/sys/i386/isa/pcvt/pcvt_drv.c
index 35616fe..2af6ddb 100644
--- a/sys/i386/isa/pcvt/pcvt_drv.c
+++ b/sys/i386/isa/pcvt/pcvt_drv.c
@@ -90,6 +90,12 @@
static void *pcvt_devfs_token[MAXCONS];
#endif /*DEVFS*/
+#if PCVT_FREEBSD >= 200
+#include <machine/stdarg.h>
+#else
+#include "machine/stdarg.h"
+#endif
+
extern int getchar __P((void));
#if PCVT_NETBSD
diff --git a/sys/i386/isa/pcvt/pcvt_hdr.h b/sys/i386/isa/pcvt/pcvt_hdr.h
index 533e588..3578109 100644
--- a/sys/i386/isa/pcvt/pcvt_hdr.h
+++ b/sys/i386/isa/pcvt/pcvt_hdr.h
@@ -151,12 +151,6 @@
#endif /* PCVT_FREEBSD >= 200 */
#endif /* PCVT_NETBSD <= 9 */
-#if PCVT_FREEBSD >= 200
-#include <machine/stdarg.h>
-#else
-#include "machine/stdarg.h"
-#endif
-
#if PCVT_NETBSD > 9
#include <i386/isa/pcvt/pcvt_ioctl.h>
#elif PCVT_FREEBSD >= 200
OpenPOWER on IntegriCloud