Prototype main().
This commit is contained in:
parent
01b365e7a5
commit
b371b8a271
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: genassym.c,v 1.8 1996/08/21 20:26:41 mark Exp $ */
|
||||
/* $NetBSD: genassym.c,v 1.9 1997/01/28 05:02:30 mark Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1982, 1990 The Regents of the University of California.
|
||||
@ -51,7 +51,9 @@
|
||||
#include <machine/vmparam.h>
|
||||
#include <machine/irqhandler.h>
|
||||
|
||||
void
|
||||
int main __P((void));
|
||||
|
||||
int
|
||||
main()
|
||||
{
|
||||
struct proc *p = 0;
|
||||
@ -154,5 +156,6 @@ main()
|
||||
|
||||
def("PROCSIZE", sizeof(struct proc));
|
||||
def("TRAPFRAMESIZE", sizeof(struct trapframe));
|
||||
|
||||
exit(0);
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: makemodes.c,v 1.7 1996/10/15 02:33:28 mark Exp $ */
|
||||
/* $NetBSD: makemodes.c,v 1.8 1997/01/28 05:04:10 mark Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Mark Brinicombe.
|
||||
@ -73,7 +73,9 @@ int md; /* Number of modes defined in the mds array */
|
||||
|
||||
void makemode __P((FILE *, int, int, int, int));
|
||||
|
||||
void
|
||||
int main __P((int argc, char *argv[]));
|
||||
|
||||
int
|
||||
main(argc, argv)
|
||||
int argc;
|
||||
char *argv[];
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: makemodes.c,v 1.7 1996/10/15 02:33:28 mark Exp $ */
|
||||
/* $NetBSD: makemodes.c,v 1.8 1997/01/28 05:04:10 mark Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Mark Brinicombe.
|
||||
@ -73,7 +73,9 @@ int md; /* Number of modes defined in the mds array */
|
||||
|
||||
void makemode __P((FILE *, int, int, int, int));
|
||||
|
||||
void
|
||||
int main __P((int argc, char *argv[]));
|
||||
|
||||
int
|
||||
main(argc, argv)
|
||||
int argc;
|
||||
char *argv[];
|
||||
|
Loading…
Reference in New Issue
Block a user