Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x68k/x68k - Remove duplicated declarations.



details:   https://anonhg.NetBSD.org/src/rev/84792b59e959
branches:  trunk
changeset: 779291:84792b59e959
user:      isaki <isaki%NetBSD.org@localhost>
date:      Wed May 16 07:32:30 2012 +0000

description:
- Remove duplicated declarations.
- Make declaration of doboot() "extern" explicitly.

diffstat:

 sys/arch/x68k/x68k/machdep.c |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (29 lines):

diff -r 8be0b8a686b5 -r 84792b59e959 sys/arch/x68k/x68k/machdep.c
--- a/sys/arch/x68k/x68k/machdep.c      Tue May 15 19:07:25 2012 +0000
+++ b/sys/arch/x68k/x68k/machdep.c      Wed May 16 07:32:30 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.182 2012/05/06 19:46:18 tsutsui Exp $    */
+/*     $NetBSD: machdep.c,v 1.183 2012/05/16 07:32:30 isaki Exp $      */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.182 2012/05/06 19:46:18 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.183 2012/05/16 07:32:30 isaki Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -107,9 +107,7 @@
 #include <machine/autoconf.h>
 #include <arch/x68k/dev/intiovar.h>
 
-void initcpu(void);
-void identifycpu(void);
-void doboot(void) __attribute__((__noreturn__));
+extern void doboot(void) __attribute__((__noreturn__));
 
 /* the following is used externally (sysctl_hw) */
 char   machine[] = MACHINE;    /* from <machine/param.h> */



Home | Main Index | Thread Index | Old Index