Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/stand/ofwboot Fix compiler warnings.
details: https://anonhg.NetBSD.org/src/rev/5834807e5998
branches: trunk
changeset: 495186:5834807e5998
user: mycroft <mycroft%NetBSD.org@localhost>
date: Mon Jul 24 01:49:37 2000 +0000
description:
Fix compiler warnings.
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 ec68d387a4cd -r 5834807e5998 sys/arch/sparc64/stand/ofwboot/Makefile
--- a/sys/arch/sparc64/stand/ofwboot/Makefile Mon Jul 24 00:23:10 2000 +0000
+++ b/sys/arch/sparc64/stand/ofwboot/Makefile Mon Jul 24 01:49:37 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2000/07/21 22:06:11 jdolecek Exp $
+# $NetBSD: Makefile,v 1.16 2000/07/24 01:49:37 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 ec68d387a4cd -r 5834807e5998 sys/arch/sparc64/stand/ofwboot/ofdev.c
--- a/sys/arch/sparc64/stand/ofwboot/ofdev.c Mon Jul 24 00:23:10 2000 +0000
+++ b/sys/arch/sparc64/stand/ofwboot/ofdev.c Mon Jul 24 01:49:37 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.6 2000/07/24 01:49:37 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