summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPeter Valchev <pvalchev@cvs.openbsd.org>2004-01-03 21:17:44 +0000
committerPeter Valchev <pvalchev@cvs.openbsd.org>2004-01-03 21:17:44 +0000
commit5bbb795434a23a62c3f7d9f25592776fda1dc162 (patch)
tree974b96791a172217acf47f9dbadee613e6ada45d /sys
parent4e4de629b07fb1a968966313ed81107880929237 (diff)
shut gcc up; ok miod
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc64/stand/ofwboot/boot.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/sparc64/stand/ofwboot/boot.c b/sys/arch/sparc64/stand/ofwboot/boot.c
index 5bb8230a75f..bbda2f8e456 100644
--- a/sys/arch/sparc64/stand/ofwboot/boot.c
+++ b/sys/arch/sparc64/stand/ofwboot/boot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: boot.c,v 1.10 2003/06/10 02:42:58 brad Exp $ */
+/* $OpenBSD: boot.c,v 1.11 2004/01/03 21:17:43 pvalchev Exp $ */
/* $NetBSD: boot.c,v 1.3 2001/05/31 08:55:19 mrg Exp $ */
/*
* Copyright (c) 1997, 1999 Eduardo E. Horvath. All rights reserved.
@@ -280,7 +280,7 @@ loadfile(fd, args)
#include "elfXX_exec.c"
#endif /* SPARC_BOOT_ELF */
-void
+int
main()
{
extern char version[];
@@ -380,4 +380,5 @@ main()
#endif
(void)loadfile(fd, bootline);
}
+ return 0;
}