Module Name:    src
Committed By:   mlelstv
Date:           Wed Dec  5 09:34:46 UTC 2018

Modified Files:
        src/sys/arch/amiga/amiga: machdep.c

Log Message:
build fix for M68020,M68030. gcc complains about the local typedef that
isn't used.


To generate a diff of this commit:
cvs rdiff -u -r1.249 -r1.250 src/sys/arch/amiga/amiga/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/amiga/amiga/machdep.c
diff -u src/sys/arch/amiga/amiga/machdep.c:1.249 src/sys/arch/amiga/amiga/machdep.c:1.250
--- src/sys/arch/amiga/amiga/machdep.c:1.249	Mon Mar  5 02:39:06 2018
+++ src/sys/arch/amiga/amiga/machdep.c	Wed Dec  5 09:34:46 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.249 2018/03/05 02:39:06 christos Exp $	*/
+/*	$NetBSD: machdep.c,v 1.250 2018/12/05 09:34:46 mlelstv Exp $	*/
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -50,7 +50,7 @@
 #include "empm.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.249 2018/03/05 02:39:06 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.250 2018/12/05 09:34:46 mlelstv Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -679,10 +679,9 @@ dumpsys(void)
 void
 initcpu(void)
 {
-	typedef void trapfun(void);
-
 	/* XXX should init '40 vecs here, too */
 #if defined(M68060) || defined(M68040) || defined(DRACO) || defined(FPU_EMULATE)
+	typedef void trapfun(void);
 	extern trapfun *vectab[256];
 #endif
 

Reply via email to