Module Name: src
Committed By: nakayama
Date: Sat Dec 14 05:28:47 UTC 2013
Modified Files:
src/sys/arch/sparc64/sparc64: machdep.c
Log Message:
Remove duplicate/unused declarations.
To generate a diff of this commit:
cvs rdiff -u -r1.273 -r1.274 src/sys/arch/sparc64/sparc64/machdep.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/sparc64/sparc64/machdep.c
diff -u src/sys/arch/sparc64/sparc64/machdep.c:1.273 src/sys/arch/sparc64/sparc64/machdep.c:1.274
--- src/sys/arch/sparc64/sparc64/machdep.c:1.273 Thu Nov 14 12:11:13 2013
+++ src/sys/arch/sparc64/sparc64/machdep.c Sat Dec 14 05:28:47 2013
@@ -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 @@ extern vaddr_t avail_end;
#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 @@ cpu_reboot(int howto, char *user_boot_st
maybe_dump(howto);
if ((howto & RB_NOSYNC) == 0 && !syncdone) {
- extern struct lwp lwp0;
-
if (!syncdone) {
syncdone = true;
vfs_shutdown();