Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/broadcom Sprinkle static



details:   https://anonhg.NetBSD.org/src/rev/aa0a5f1b75de
branches:  trunk
changeset: 464143:aa0a5f1b75de
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Sep 25 16:50:28 2019 +0000

description:
Sprinkle static

diffstat:

 sys/arch/arm/broadcom/bcm2835_intr.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 3b1395268a8d -r aa0a5f1b75de sys/arch/arm/broadcom/bcm2835_intr.c
--- a/sys/arch/arm/broadcom/bcm2835_intr.c      Wed Sep 25 16:49:37 2019 +0000
+++ b/sys/arch/arm/broadcom/bcm2835_intr.c      Wed Sep 25 16:50:28 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bcm2835_intr.c,v 1.22 2019/09/25 16:49:37 skrll Exp $  */
+/*     $NetBSD: bcm2835_intr.c,v 1.23 2019/09/25 16:50:28 skrll Exp $  */
 
 /*-
  * Copyright (c) 2012, 2015 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bcm2835_intr.c,v 1.22 2019/09/25 16:49:37 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm2835_intr.c,v 1.23 2019/09/25 16:50:28 skrll Exp $");
 
 #define _INTR_PRIVATE
 
@@ -170,8 +170,8 @@
        int sc_phandle;
 };
 
-struct bcm2835icu_softc *bcml1icu_sc;
-struct bcm2835icu_softc *bcmicu_sc;
+static struct bcm2835icu_softc *bcml1icu_sc;
+static struct bcm2835icu_softc *bcmicu_sc;
 
 #define read_bcm2835reg(o)     \
        bus_space_read_4(bcmicu_sc->sc_iot, bcmicu_sc->sc_ioh, (o))



Home | Main Index | Thread Index | Old Index