fixes for gcc-4.8 (John D. Baker)
This commit is contained in:
parent
1aa5302419
commit
8701607453
@ -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 @@ CMACHFLAGS= -m68030
|
||||
.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
|
||||
|
@ -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
|
||||
|
@ -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 @@ tape_open(struct open_file *f, ...)
|
||||
int
|
||||
tape_close(struct open_file *f)
|
||||
{
|
||||
struct mvmeprom_dskio *ti;
|
||||
|
||||
ti = f->f_devdata;
|
||||
f->f_devdata = NULL;
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user