Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm26/arm26 Minor obvious delinting



details:   https://anonhg.NetBSD.org/src/rev/d6e2b814ced3
branches:  trunk
changeset: 493983:d6e2b814ced3
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Wed Jun 28 15:18:16 2000 +0000

description:
Minor obvious delinting

diffstat:

 sys/arch/arm26/arm26/db_disasm.c    |  3 ++-
 sys/arch/arm26/arm26/db_interface.c |  6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diffs (51 lines):

diff -r 5beee6764a39 -r d6e2b814ced3 sys/arch/arm26/arm26/db_disasm.c
--- a/sys/arch/arm26/arm26/db_disasm.c  Wed Jun 28 14:16:37 2000 +0000
+++ b/sys/arch/arm26/arm26/db_disasm.c  Wed Jun 28 15:18:16 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_disasm.c,v 1.2 2000/05/25 19:57:32 jhawk Exp $      */
+/*     $NetBSD: db_disasm.c,v 1.3 2000/06/28 15:18:16 bjh21 Exp $      */
 
 /*
  * Copyright (c) 1996 Mark Brinicombe.
@@ -36,6 +36,7 @@
 
 #include <sys/param.h>
 #include <machine/db_machdep.h>
+#include <ddb/db_interface.h>
 #include <ddb/db_sym.h>
 #include <ddb/db_output.h>
 #include <ddb/db_access.h>
diff -r 5beee6764a39 -r d6e2b814ced3 sys/arch/arm26/arm26/db_interface.c
--- a/sys/arch/arm26/arm26/db_interface.c       Wed Jun 28 14:16:37 2000 +0000
+++ b/sys/arch/arm26/arm26/db_interface.c       Wed Jun 28 15:18:16 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_interface.c,v 1.1 2000/05/09 21:55:55 bjh21 Exp $   */
+/*     $NetBSD: db_interface.c,v 1.2 2000/06/28 15:18:16 bjh21 Exp $   */
 
 /* 
  * Copyright (c) 1996 Scott K. Stevens
@@ -53,8 +53,6 @@
 #include <ddb/db_extern.h>
 #include <dev/cons.h>
 
-static int nil;
-
 int db_access_und_sp __P((struct db_variable *, db_expr_t *, int));
 int db_access_abt_sp __P((struct db_variable *, db_expr_t *, int));
 int db_access_irq_sp __P((struct db_variable *, db_expr_t *, int));
@@ -222,6 +220,7 @@
        { NULL,         NULL,                   0, NULL }
 };
 
+#if 0 /* unused? */
 int
 db_trapper(addr, inst, frame, fault_code)
        u_int           addr;
@@ -238,6 +237,7 @@
                return 1;
        return 0;
 }
+#endif
 
 extern u_int esym;
 extern u_int end;



Home | Main Index | Thread Index | Old Index