Module Name:    src
Committed By:   andvar
Date:           Sat Sep 16 20:53:18 UTC 2023

Modified Files:
        src/sys/arch/luna68k/luna68k: trap.c
        src/sys/arch/x68k/x68k: trap.c

Log Message:
remove static from dumpssw() and dumpwb() declarations.

Fixes DEBUG enabled builds for luna68k and x68k.


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 src/sys/arch/luna68k/luna68k/trap.c
cvs rdiff -u -r1.110 -r1.111 src/sys/arch/x68k/x68k/trap.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/luna68k/luna68k/trap.c
diff -u src/sys/arch/luna68k/luna68k/trap.c:1.75 src/sys/arch/luna68k/luna68k/trap.c:1.76
--- src/sys/arch/luna68k/luna68k/trap.c:1.75	Sat Apr 22 10:00:24 2023
+++ src/sys/arch/luna68k/luna68k/trap.c	Sat Sep 16 20:53:18 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.75 2023/04/22 10:00:24 tsutsui Exp $ */
+/* $NetBSD: trap.c,v 1.76 2023/09/16 20:53:18 andvar Exp $ */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.75 2023/04/22 10:00:24 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.76 2023/09/16 20:53:18 andvar Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -73,8 +73,8 @@ void  trap(struct frame *fp, int type, u
 
 #if defined(M68040)
 #ifdef DEBUG
-static void dumpssw(u_short);
-static void dumpwb(int, u_short, u_int, u_int);
+void dumpssw(u_short);
+void dumpwb(int, u_short, u_int, u_int);
 #endif
 #endif
 

Index: src/sys/arch/x68k/x68k/trap.c
diff -u src/sys/arch/x68k/x68k/trap.c:1.110 src/sys/arch/x68k/x68k/trap.c:1.111
--- src/sys/arch/x68k/x68k/trap.c:1.110	Sat Sep 25 19:16:31 2021
+++ src/sys/arch/x68k/x68k/trap.c	Sat Sep 16 20:53:18 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: trap.c,v 1.110 2021/09/25 19:16:31 tsutsui Exp $	*/
+/*	$NetBSD: trap.c,v 1.111 2023/09/16 20:53:18 andvar Exp $	*/
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.110 2021/09/25 19:16:31 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.111 2023/09/16 20:53:18 andvar Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -85,8 +85,8 @@ void	trap(struct frame *, int, u_int, u_
 
 #if defined(M68040) || defined(M68060)
 #ifdef DEBUG
-static void dumpssw(u_short);
-static void dumpwb(int, u_short, u_int, u_int);
+void dumpssw(u_short);
+void dumpwb(int, u_short, u_int, u_int);
 #endif
 #endif
 

Reply via email to