Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/sparc64 Remove duplicate/unused declarations.



details:   https://anonhg.NetBSD.org/src/rev/9d403e2c14eb
branches:  trunk
changeset: 325225:9d403e2c14eb
user:      nakayama <nakayama%NetBSD.org@localhost>
date:      Sat Dec 14 05:28:47 2013 +0000

description:
Remove duplicate/unused declarations.

diffstat:

 sys/arch/sparc64/sparc64/machdep.c |  9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diffs (39 lines):

diff -r 35779aa50fde -r 9d403e2c14eb sys/arch/sparc64/sparc64/machdep.c
--- a/sys/arch/sparc64/sparc64/machdep.c        Fri Dec 13 20:52:48 2013 +0000
+++ b/sys/arch/sparc64/sparc64/machdep.c        Sat Dec 14 05:28:47 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.273 2013/11/14 12:11:13 martin Exp $ */
+/*     $NetBSD: machdep.c,v 1.274 2013/12/14 05:28:47 nakayama Exp $ */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -71,7 +71,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.273 2013/11/14 12:11:13 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.274 2013/12/14 05:28:47 nakayama Exp $");
 
 #include "opt_ddb.h"
 #include "opt_multiprocessor.h"
@@ -154,11 +154,8 @@
 #ifdef MODULAR
 vaddr_t module_start, module_end;
 static struct vm_map module_map_store;
-extern struct vm_map *module_map;
 #endif
 
-extern void *msgbufaddr;
-
 /*
  * Maximum number of DMA segments we'll allow in dmamem_load()
  * routines.  Can be overridden in config files, etc.
@@ -592,8 +589,6 @@
        maybe_dump(howto);
 
        if ((howto & RB_NOSYNC) == 0 && !syncdone) {
-               extern struct lwp lwp0;
-
                if (!syncdone) {
                syncdone = true;
                vfs_shutdown();



Home | Main Index | Thread Index | Old Index