Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/atari/pci Add a missing extern to apeas -fno-common.



details:   https://anonhg.NetBSD.org/src/rev/764126f3560a
branches:  trunk
changeset: 780948:764126f3560a
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Aug 12 20:50:39 2012 +0000

description:
Add a missing extern to apeas -fno-common.

diffstat:

 sys/arch/atari/pci/pci_milan.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 850302c34d64 -r 764126f3560a sys/arch/atari/pci/pci_milan.c
--- a/sys/arch/atari/pci/pci_milan.c    Sun Aug 12 20:00:06 2012 +0000
+++ b/sys/arch/atari/pci/pci_milan.c    Sun Aug 12 20:50:39 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci_milan.c,v 1.12 2009/03/16 23:11:10 dsl Exp $       */
+/*     $NetBSD: pci_milan.c,v 1.13 2012/08/12 20:50:39 martin Exp $    */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_milan.c,v 1.12 2009/03/16 23:11:10 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_milan.c,v 1.13 2012/08/12 20:50:39 martin Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -60,7 +60,7 @@
  */
 pcireg_t       milan_pci_confread(pcitag_t);
 void           milan_pci_confwrite(u_long, pcireg_t);
-u_long         plx_status;
+extern u_long  plx_status;
 
 pcireg_t
 pci_conf_read(pci_chipset_tag_t pc, pcitag_t tag, int reg)



Home | Main Index | Thread Index | Old Index