Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/atari/atari Remove extern int atari_realconfig decl...



details:   https://anonhg.NetBSD.org/src/rev/d847356b8660
branches:  trunk
changeset: 753793:d847356b8660
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Apr 10 16:14:07 2010 +0000

description:
Remove extern int atari_realconfig decls. It's in <atari/atari/device.h>.

diffstat:

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

diffs (36 lines):

diff -r e0333d4248d2 -r d847356b8660 sys/arch/atari/atari/autoconf.c
--- a/sys/arch/atari/atari/autoconf.c   Sat Apr 10 16:12:34 2010 +0000
+++ b/sys/arch/atari/atari/autoconf.c   Sat Apr 10 16:14:07 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.57 2010/04/01 17:07:51 tsutsui Exp $    */
+/*     $NetBSD: autoconf.c,v 1.58 2010/04/10 16:14:07 tsutsui Exp $    */
 
 /*
  * Copyright (c) 1995 Leo Weppelman
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.57 2010/04/01 17:07:51 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.58 2010/04/10 16:14:07 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -59,8 +59,7 @@
 void
 cpu_configure(void)
 {
-       extern int atari_realconfig;
-       
+
        atari_realconfig = 1;
 
        init_sicallback();
@@ -98,7 +97,6 @@
        struct device temp;
        struct cfdata *cf;
        const struct cfattach *ca;
-       extern int      atari_realconfig;
 
        if (atari_realconfig)
                return config_found(pdp, auxp, pfn) != NULL;



Home | Main Index | Thread Index | Old Index