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/ab3e4fc63933
branches:  trunk
changeset: 449267:ab3e4fc63933
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Mar 01 08:05:46 2019 +0000

description:
Sprinkle static

diffstat:

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

diffs (36 lines):

diff -r 132fb1bc0774 -r ab3e4fc63933 sys/arch/arm/broadcom/bcm2835_intr.c
--- a/sys/arch/arm/broadcom/bcm2835_intr.c      Fri Mar 01 07:02:56 2019 +0000
+++ b/sys/arch/arm/broadcom/bcm2835_intr.c      Fri Mar 01 08:05:46 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bcm2835_intr.c,v 1.17 2019/02/10 08:39:48 skrll Exp $  */
+/*     $NetBSD: bcm2835_intr.c,v 1.18 2019/03/01 08:05:46 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.17 2019/02/10 08:39:48 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm2835_intr.c,v 1.18 2019/03/01 08:05:46 skrll Exp $");
 
 #define _INTR_PRIVATE
 
@@ -108,7 +108,7 @@
        .pic_set_priority = bcm2835_set_priority,
 };
 
-struct pic_softc bcm2835_pic = {
+static struct pic_softc bcm2835_pic = {
        .pic_ops = &bcm2835_picops,
        .pic_maxsources = BCM2835_NIRQ,
        .pic_name = "bcm2835 pic",
@@ -126,7 +126,7 @@
 #endif
 };
 
-struct pic_softc bcm2836mp_pic[BCM2836_NCPUS] = {
+static struct pic_softc bcm2836mp_pic[BCM2836_NCPUS] = {
        [0 ... BCM2836_NCPUS - 1] = {
                .pic_ops = &bcm2836mp_picops,
                .pic_maxsources = BCM2836_NIRQPERCPU,



Home | Main Index | Thread Index | Old Index