diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2004-01-03 14:08:55 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2004-01-03 14:08:55 +0000 |
commit | f8086ce091549315cd470bcea8c56fa4ee438f1b (patch) | |
tree | d72e268347fd3adc8cb53eaf4269e281dd46ab47 /sys/kern/subr_prf.c | |
parent | 31ec8d6d746e8bf365990ee271f1a77c3c1e3d0a (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/kern/subr_prf.c')
-rw-r--r-- | sys/kern/subr_prf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c index f7d9f2e08bc..906ce028770 100644 --- a/sys/kern/subr_prf.c +++ b/sys/kern/subr_prf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_prf.c,v 1.57 2003/12/21 15:30:21 miod Exp $ */ +/* $OpenBSD: subr_prf.c,v 1.58 2004/01/03 14:08:53 espie Exp $ */ /* $NetBSD: subr_prf.c,v 1.45 1997/10/24 18:14:25 chuck Exp $ */ /*- @@ -59,7 +59,7 @@ * note that stdarg.h and the ansi style va_start macro is used for both * ansi and traditional c compilers. */ -#include <machine/stdarg.h> +#include <sys/stdarg.h> #ifdef KGDB #include <sys/kgdb.h> |