Prototype main().

This commit is contained in:
mark 1997-01-28 05:02:30 +00:00
parent 01b365e7a5
commit b371b8a271
3 changed files with 13 additions and 6 deletions

View File

@ -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);
}

View File

@ -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[];

View File

@ -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[];