Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev Make local functions static.
details: https://anonhg.NetBSD.org/src/rev/2ca2283f645c
branches: trunk
changeset: 747587:2ca2283f645c
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Tue Sep 22 13:22:53 2009 +0000
description:
Make local functions static.
diffstat:
sys/dev/isa/aha_isa.c | 8 ++++----
sys/dev/isapnp/aha_isapnp.c | 8 ++++----
sys/dev/mca/aha_mca.c | 8 ++++----
3 files changed, 12 insertions(+), 12 deletions(-)
diffs (87 lines):
diff -r 00ace7e54ad7 -r 2ca2283f645c sys/dev/isa/aha_isa.c
--- a/sys/dev/isa/aha_isa.c Tue Sep 22 13:20:36 2009 +0000
+++ b/sys/dev/isa/aha_isa.c Tue Sep 22 13:22:53 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aha_isa.c,v 1.28 2009/09/21 08:12:47 tsutsui Exp $ */
+/* $NetBSD: aha_isa.c,v 1.29 2009/09/22 13:22:53 tsutsui Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aha_isa.c,v 1.28 2009/09/21 08:12:47 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aha_isa.c,v 1.29 2009/09/22 13:22:53 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -51,8 +51,8 @@
#define AHA_ISA_IOSIZE 4
-int aha_isa_probe(device_t, cfdata_t, void *);
-void aha_isa_attach(device_t, device_t, void *);
+static int aha_isa_probe(device_t, cfdata_t, void *);
+static void aha_isa_attach(device_t, device_t, void *);
CFATTACH_DECL_NEW(aha_isa, sizeof(struct aha_softc),
aha_isa_probe, aha_isa_attach, NULL, NULL);
diff -r 00ace7e54ad7 -r 2ca2283f645c sys/dev/isapnp/aha_isapnp.c
--- a/sys/dev/isapnp/aha_isapnp.c Tue Sep 22 13:20:36 2009 +0000
+++ b/sys/dev/isapnp/aha_isapnp.c Tue Sep 22 13:22:53 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aha_isapnp.c,v 1.18 2009/09/21 08:12:47 tsutsui Exp $ */
+/* $NetBSD: aha_isapnp.c,v 1.19 2009/09/22 13:22:53 tsutsui Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aha_isapnp.c,v 1.18 2009/09/21 08:12:47 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aha_isapnp.c,v 1.19 2009/09/22 13:22:53 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -53,8 +53,8 @@
#include <dev/ic/ahareg.h>
#include <dev/ic/ahavar.h>
-int aha_isapnp_probe(device_t, cfdata_t, void *);
-void aha_isapnp_attach(device_t, device_t, void *);
+static int aha_isapnp_probe(device_t, cfdata_t, void *);
+static void aha_isapnp_attach(device_t, device_t, void *);
CFATTACH_DECL_NEW(aha_isapnp, sizeof(struct aha_softc),
aha_isapnp_probe, aha_isapnp_attach, NULL, NULL);
diff -r 00ace7e54ad7 -r 2ca2283f645c sys/dev/mca/aha_mca.c
--- a/sys/dev/mca/aha_mca.c Tue Sep 22 13:20:36 2009 +0000
+++ b/sys/dev/mca/aha_mca.c Tue Sep 22 13:22:53 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aha_mca.c,v 1.21 2009/09/21 08:12:47 tsutsui Exp $ */
+/* $NetBSD: aha_mca.c,v 1.22 2009/09/22 13:22:53 tsutsui Exp $ */
/*
* Copyright (c) 2000-2002 The NetBSD Foundation, Inc.
@@ -52,7 +52,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aha_mca.c,v 1.21 2009/09/21 08:12:47 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aha_mca.c,v 1.22 2009/09/22 13:22:53 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -77,8 +77,8 @@
#define AHA_ISA_IOSIZE 4
-int aha_mca_probe(device_t, cfdata_t, void *);
-void aha_mca_attach(device_t, device_t, void *);
+static int aha_mca_probe(device_t, cfdata_t, void *);
+static void aha_mca_attach(device_t, device_t, void *);
CFATTACH_DECL_NEW(aha_mca, sizeof(struct aha_softc),
aha_mca_probe, aha_mca_attach, NULL, NULL);
Home |
Main Index |
Thread Index |
Old Index