Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern kgdb(9): Use ddb/db_extern.h instead of copying ext...



details:   https://anonhg.NetBSD.org/src/rev/23adea3c714a
branches:  trunk
changeset: 372068:23adea3c714a
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Oct 26 23:26:57 2022 +0000

description:
kgdb(9): Use ddb/db_extern.h instead of copying extern.

diffstat:

 sys/kern/kgdb_stub.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 61452bc29f49 -r 23adea3c714a sys/kern/kgdb_stub.c
--- a/sys/kern/kgdb_stub.c      Wed Oct 26 23:26:45 2022 +0000
+++ b/sys/kern/kgdb_stub.c      Wed Oct 26 23:26:57 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kgdb_stub.c,v 1.30 2021/01/13 07:36:56 skrll Exp $     */
+/*     $NetBSD: kgdb_stub.c,v 1.31 2022/10/26 23:26:57 riastradh Exp $ */
 
 /*
  * Copyright (c) 1990, 1993
@@ -45,7 +45,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kgdb_stub.c,v 1.30 2021/01/13 07:36:56 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kgdb_stub.c,v 1.31 2022/10/26 23:26:57 riastradh Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -103,7 +103,7 @@
  * is shared with DDB.
  */
 #ifdef DDB
-extern void (*db_trap_callback)(int);
+#include <ddb/db_extern.h>
 #else
 void (*db_trap_callback)(int);
 #endif



Home | Main Index | Thread Index | Old Index