From dc927d0c6b1a019cbe3599965dd74c9afb19c674 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Sun, 29 Sep 1996 15:00:37 +0000 Subject: [PATCH] Started unspamming . Don't include to get the declaration of va_list; just use _BSD_VA_LIST. Fixed the 2 places that need but didn't include it explicitly. --- sys/miscfs/devfs/devfs_tree.c | 4 +++- sys/sys/systm.h | 8 ++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/sys/miscfs/devfs/devfs_tree.c b/sys/miscfs/devfs/devfs_tree.c index c9aa5d7215df..f4110f919418 100644 --- a/sys/miscfs/devfs/devfs_tree.c +++ b/sys/miscfs/devfs/devfs_tree.c @@ -2,7 +2,7 @@ /* * Written by Julian Elischer (julian@DIALix.oz.au) * - * $Header: /home/ncvs/src/sys/miscfs/devfs/devfs_tree.c,v 1.29 1996/08/13 19:48:40 julian Exp $ + * $Header: /home/ncvs/src/sys/miscfs/devfs/devfs_tree.c,v 1.30 1996/09/10 08:27:33 bde Exp $ */ #include @@ -18,6 +18,8 @@ #include /* defines dirent structure */ #include +#include + #include SYSINIT(devfs, SI_SUB_DEVFS, SI_ORDER_FIRST, devfs_sinit, NULL) diff --git a/sys/sys/systm.h b/sys/sys/systm.h index e62840095b0c..eff79f999025 100644 --- a/sys/sys/systm.h +++ b/sys/sys/systm.h @@ -36,14 +36,13 @@ * SUCH DAMAGE. * * @(#)systm.h 8.7 (Berkeley) 3/29/95 - * $Id: systm.h,v 1.43 1996/08/31 16:57:54 bde Exp $ + * $Id: systm.h,v 1.44 1996/09/13 09:20:15 bde Exp $ */ #ifndef _SYS_SYSTM_H_ #define _SYS_SYSTM_H_ #include -#include /* * The `securelevel' variable controls the security level of the system. @@ -120,12 +119,13 @@ void boot __P((int)) __dead2; void cpu_boot __P((int)); void tablefull __P((const char *)); int addlog __P((const char *, ...)); -int kvprintf __P((char const *, void (*)(int, void*), void *, int, va_list)); +int kvprintf __P((char const *, void (*)(int, void*), void *, int, + _BSD_VA_LIST_)); void log __P((int, const char *, ...)); int printf __P((const char *, ...)); int sprintf __P((char *buf, const char *, ...)); void uprintf __P((const char *, ...)); -void vprintf __P((const char *, va_list)); +void vprintf __P((const char *, _BSD_VA_LIST_)); void ttyprintf __P((struct tty *, const char *, ...)); void bcopy __P((const void *from, void *to, size_t len));