mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Declare printf() instead of including <stdio.h>, so that this doesn't
depend on anything outside of "sys". Removed an unused include. Don't use `extern' in a function declaration.
This commit is contained in:
parent
2625bd3484
commit
76d0502a56
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=32992
@ -34,12 +34,11 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)genassym.c 5.11 (Berkeley) 5/10/91
|
||||
* $Id: genassym.c,v 1.49 1997/10/10 09:43:58 peter Exp $
|
||||
* $Id: genassym.c,v 1.50 1997/10/10 12:38:27 peter Exp $
|
||||
*/
|
||||
|
||||
#include "opt_vm86.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/errno.h>
|
||||
@ -54,7 +53,6 @@
|
||||
#include <sys/vmmeter.h>
|
||||
#include <vm/vm.h>
|
||||
#include <vm/vm_param.h>
|
||||
#include <sys/lock.h>
|
||||
#include <vm/pmap.h>
|
||||
#include <vm/vm_map.h>
|
||||
#define KERNEL /* XXX avoid user headers */
|
||||
@ -67,7 +65,8 @@
|
||||
#include <nfs/nfs.h>
|
||||
#include <nfs/nfsdiskless.h>
|
||||
|
||||
extern int main __P((void));
|
||||
int main __P((void));
|
||||
int printf __P((const char *, ...));
|
||||
|
||||
int
|
||||
main()
|
||||
|
@ -34,12 +34,11 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)genassym.c 5.11 (Berkeley) 5/10/91
|
||||
* $Id: genassym.c,v 1.49 1997/10/10 09:43:58 peter Exp $
|
||||
* $Id: genassym.c,v 1.50 1997/10/10 12:38:27 peter Exp $
|
||||
*/
|
||||
|
||||
#include "opt_vm86.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/buf.h>
|
||||
#include <sys/errno.h>
|
||||
@ -54,7 +53,6 @@
|
||||
#include <sys/vmmeter.h>
|
||||
#include <vm/vm.h>
|
||||
#include <vm/vm_param.h>
|
||||
#include <sys/lock.h>
|
||||
#include <vm/pmap.h>
|
||||
#include <vm/vm_map.h>
|
||||
#define KERNEL /* XXX avoid user headers */
|
||||
@ -67,7 +65,8 @@
|
||||
#include <nfs/nfs.h>
|
||||
#include <nfs/nfsdiskless.h>
|
||||
|
||||
extern int main __P((void));
|
||||
int main __P((void));
|
||||
int printf __P((const char *, ...));
|
||||
|
||||
int
|
||||
main()
|
||||
|
Loading…
Reference in New Issue
Block a user