mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-30 15:38:06 +01:00
Started unspamming <sys/systm.h>. Don't include <machine/stdarg.h>
to get the declaration of va_list; just use _BSD_VA_LIST. Fixed the 2 places that need <machine.stdarg.h> but didn't include it explicitly.
This commit is contained in:
parent
985c294e79
commit
dc927d0c6b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=18556
@ -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 <sys/param.h>
|
||||
@ -18,6 +18,8 @@
|
||||
#include <sys/dir.h> /* defines dirent structure */
|
||||
#include <sys/devfsext.h>
|
||||
|
||||
#include <machine/stdarg.h>
|
||||
|
||||
#include <miscfs/devfs/devfsdefs.h>
|
||||
|
||||
SYSINIT(devfs, SI_SUB_DEVFS, SI_ORDER_FIRST, devfs_sinit, NULL)
|
||||
|
@ -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 <machine/cpufunc.h>
|
||||
#include <machine/stdarg.h>
|
||||
|
||||
/*
|
||||
* 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));
|
||||
|
Loading…
Reference in New Issue
Block a user