Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/arch/sparc64/stand/ofwboot Approved by thorpej:
details: https://anonhg.NetBSD.org/src/rev/a1a77e64925b
branches: netbsd-1-5
changeset: 488758:a1a77e64925b
user: mycroft <mycroft%NetBSD.org@localhost>
date: Thu Jul 27 00:03:50 2000 +0000
description:
Approved by thorpej:
Fix compiler warnings.
syssrc/sys/arch/sparc64/stand/ofwboot/Makefile 1.15 -> 1.16
syssrc/sys/arch/sparc64/stand/ofwboot/ofdev.c 1.5 -> 1.6
diffstat:
sys/arch/sparc64/stand/ofwboot/Makefile | 3 ++-
sys/arch/sparc64/stand/ofwboot/ofdev.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r 34aa7cff1f69 -r a1a77e64925b sys/arch/sparc64/stand/ofwboot/Makefile
--- a/sys/arch/sparc64/stand/ofwboot/Makefile Thu Jul 27 00:00:31 2000 +0000
+++ b/sys/arch/sparc64/stand/ofwboot/Makefile Thu Jul 27 00:03:50 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2000/03/06 01:29:04 eeh Exp $
+# $NetBSD: Makefile,v 1.14.4.1 2000/07/27 00:03:50 mycroft Exp $
CURDIR= ${.CURDIR}
S= ${CURDIR}/../../../..
@@ -18,6 +18,7 @@
.else
CEXTRAFLAGS?= -D_LP64
.endif
+CWARNFLAGS+= -Wno-main
CFLAGS+= ${COPTS} -DNETIF_DEBUG -D__ELF__ ${CEXTRAFLAGS} -D_STANDALONE
MKMAN= no
diff -r 34aa7cff1f69 -r a1a77e64925b sys/arch/sparc64/stand/ofwboot/ofdev.c
--- a/sys/arch/sparc64/stand/ofwboot/ofdev.c Thu Jul 27 00:00:31 2000 +0000
+++ b/sys/arch/sparc64/stand/ofwboot/ofdev.c Thu Jul 27 00:03:50 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ofdev.c,v 1.5 2000/04/05 06:21:14 mrg Exp $ */
+/* $NetBSD: ofdev.c,v 1.5.4.1 2000/07/27 00:03:51 mycroft Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -45,6 +45,7 @@
#ifdef NETBOOT
#include <lib/libsa/nfs.h>
#endif
+#include <lib/libkern/libkern.h>
#include <dev/sun/disklabel.h>
#include <sparc64/stand/ofwboot/ofdev.h>
Home |
Main Index |
Thread Index |
Old Index