Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mvme68k fixes for gcc-4.8 (John D. Baker)
details: https://anonhg.NetBSD.org/src/rev/7c73be66ca4a
branches: trunk
changeset: 328299:7c73be66ca4a
user: christos <christos%NetBSD.org@localhost>
date: Sun Mar 30 15:20:54 2014 +0000
description:
fixes for gcc-4.8 (John D. Baker)
diffstat:
sys/arch/mvme68k/conf/Makefile.mvme68k | 6 +++---
sys/arch/mvme68k/include/loadfile_machdep.h | 4 ++--
sys/arch/mvme68k/stand/bootst/dev_tape.c | 5 +----
3 files changed, 6 insertions(+), 9 deletions(-)
diffs (58 lines):
diff -r 819a41768f19 -r 7c73be66ca4a sys/arch/mvme68k/conf/Makefile.mvme68k
--- a/sys/arch/mvme68k/conf/Makefile.mvme68k Sun Mar 30 15:20:53 2014 +0000
+++ b/sys/arch/mvme68k/conf/Makefile.mvme68k Sun Mar 30 15:20:54 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.mvme68k,v 1.62 2011/01/21 15:59:07 joerg Exp $
+# $NetBSD: Makefile.mvme68k,v 1.63 2014/03/30 15:20:54 christos Exp $
# Makefile for NetBSD
#
@@ -40,9 +40,9 @@
.endif
.else
.if empty(IDENT:M-DMVME147) && empty(IDENT:M-DMVME162) && empty(IDENT:M-DMVME167)
-CMACHFLAGS= -m68060 -Wa,-m68030 -Wa,-m68851
+CMACHFLAGS= -m68060 -Wa,-mcpu68030 -Wa,-m68851
.else
-CMACHFLAGS= -m68020-60 -Wa,-m68030 -Wa,-m68851
+CMACHFLAGS= -m68020-60 -Wa,-mcpu68030 -Wa,-m68851
.endif
.endif
CFLAGS+= ${CMACHFLAGS} -msoft-float
diff -r 819a41768f19 -r 7c73be66ca4a sys/arch/mvme68k/include/loadfile_machdep.h
--- a/sys/arch/mvme68k/include/loadfile_machdep.h Sun Mar 30 15:20:53 2014 +0000
+++ b/sys/arch/mvme68k/include/loadfile_machdep.h Sun Mar 30 15:20:54 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: loadfile_machdep.h,v 1.5 2008/04/28 20:23:29 martin Exp $ */
+/* $NetBSD: loadfile_machdep.h,v 1.6 2014/03/30 15:20:54 christos Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -59,7 +59,7 @@
#define WARN(a) warn a
#define PROGRESS(a) /* nothing */
#define ALLOC(a) malloc(a)
-#define DEALLOC(a, b) free(a)
+#define DEALLOC(a, b) free(a), __USE(b)
#define OKMAGIC(a) ((a) == OMAGIC)
#endif
diff -r 819a41768f19 -r 7c73be66ca4a sys/arch/mvme68k/stand/bootst/dev_tape.c
--- a/sys/arch/mvme68k/stand/bootst/dev_tape.c Sun Mar 30 15:20:53 2014 +0000
+++ b/sys/arch/mvme68k/stand/bootst/dev_tape.c Sun Mar 30 15:20:54 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dev_tape.c,v 1.12 2011/07/17 20:54:44 joerg Exp $ */
+/* $NetBSD: dev_tape.c,v 1.13 2014/03/30 15:20:54 christos Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -114,9 +114,6 @@
int
tape_close(struct open_file *f)
{
- struct mvmeprom_dskio *ti;
-
- ti = f->f_devdata;
f->f_devdata = NULL;
return 0;
}
Home |
Main Index |
Thread Index |
Old Index