Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mvme68k/stand/netboot main()'s return type should b...



details:   https://anonhg.NetBSD.org/src/rev/bbb48ad4a6a8
branches:  trunk
changeset: 526469:bbb48ad4a6a8
user:      scw <scw%NetBSD.org@localhost>
date:      Fri May 03 20:48:34 2002 +0000

description:
main()'s return type should be `int', not `void'.

diffstat:

 sys/arch/mvme68k/stand/netboot/boot.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r a87fd2ae962e -r bbb48ad4a6a8 sys/arch/mvme68k/stand/netboot/boot.c
--- a/sys/arch/mvme68k/stand/netboot/boot.c     Fri May 03 20:41:17 2002 +0000
+++ b/sys/arch/mvme68k/stand/netboot/boot.c     Fri May 03 20:48:34 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: boot.c,v 1.8 2001/07/07 09:06:44 scw Exp $ */
+/*     $NetBSD: boot.c,v 1.9 2002/05/03 20:48:34 scw Exp $ */
 
 /*
  * Copyright (c) 1982, 1986, 1990, 1993
@@ -45,12 +45,12 @@
 #include "libsa.h"
 #include "config.h"
 
-void main(void);
+int main(void);
 
 extern char bootprog_name[], bootprog_rev[];
 char   line[80];
 
-void
+int
 main()
 {
        char *cp, *file;



Home | Main Index | Thread Index | Old Index