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/lib/libsa/snprintf.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/lib/libsa/snprintf.c')
-rw-r--r-- | sys/lib/libsa/snprintf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/lib/libsa/snprintf.c b/sys/lib/libsa/snprintf.c index df17463e084..4a075d0b11a 100644 --- a/sys/lib/libsa/snprintf.c +++ b/sys/lib/libsa/snprintf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: snprintf.c,v 1.3 2003/08/11 06:23:09 deraadt Exp $ */ +/* $OpenBSD: snprintf.c,v 1.4 2004/01/03 14:08:53 espie Exp $ */ /* $NetBSD: printf.c,v 1.10 1996/11/30 04:19:21 gwr Exp $ */ /*- @@ -34,7 +34,7 @@ #include <sys/cdefs.h> #include <sys/types.h> -#include <machine/stdarg.h> +#include <sys/stdarg.h> #include "stand.h" |