Source-Changes-HG archive

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

[src/trunk]: src/sys/ddb mv out: label into the #ifdef _KERNEL section, as it...



details:   https://anonhg.NetBSD.org/src/rev/a39846eb4325
branches:  trunk
changeset: 1027614:a39846eb4325
user:      kre <kre%NetBSD.org@localhost>
date:      Mon Dec 13 03:17:50 2021 +0000

description:
mv out: label into the #ifdef _KERNEL section, as it is only
referenced from there.  Hopefully ubbreak buikd of usr.sbin/crash

diffstat:

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

diffs (28 lines):

diff -r d609193b3de2 -r a39846eb4325 sys/ddb/db_sym.c
--- a/sys/ddb/db_sym.c  Mon Dec 13 03:03:42 2021 +0000
+++ b/sys/ddb/db_sym.c  Mon Dec 13 03:17:50 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_sym.c,v 1.68 2021/12/13 01:25:29 chs Exp $  */
+/*     $NetBSD: db_sym.c,v 1.69 2021/12/13 03:17:50 kre Exp $  */
 
 /*
  * Mach Operating System
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_sym.c,v 1.68 2021/12/13 01:25:29 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_sym.c,v 1.69 2021/12/13 03:17:50 kre Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ddbparam.h"
@@ -449,8 +449,8 @@
                        return;
                }
        }
+ out:;
 #endif
-out:
        (*pr)("%s", db_num_to_str(off));
        return;
 }



Home | Main Index | Thread Index | Old Index