Module Name: src Committed By: tsutsui Date: Tue Sep 22 13:22:54 UTC 2009
Modified Files: src/sys/dev/isa: aha_isa.c src/sys/dev/isapnp: aha_isapnp.c src/sys/dev/mca: aha_mca.c Log Message: Make local functions static. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/sys/dev/isa/aha_isa.c cvs rdiff -u -r1.18 -r1.19 src/sys/dev/isapnp/aha_isapnp.c cvs rdiff -u -r1.21 -r1.22 src/sys/dev/mca/aha_mca.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/isa/aha_isa.c diff -u src/sys/dev/isa/aha_isa.c:1.28 src/sys/dev/isa/aha_isa.c:1.29 --- src/sys/dev/isa/aha_isa.c:1.28 Mon Sep 21 08:12:47 2009 +++ src/sys/dev/isa/aha_isa.c Tue Sep 22 13:22:53 2009 @@ -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); Index: src/sys/dev/isapnp/aha_isapnp.c diff -u src/sys/dev/isapnp/aha_isapnp.c:1.18 src/sys/dev/isapnp/aha_isapnp.c:1.19 --- src/sys/dev/isapnp/aha_isapnp.c:1.18 Mon Sep 21 08:12:47 2009 +++ src/sys/dev/isapnp/aha_isapnp.c Tue Sep 22 13:22:53 2009 @@ -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); Index: src/sys/dev/mca/aha_mca.c diff -u src/sys/dev/mca/aha_mca.c:1.21 src/sys/dev/mca/aha_mca.c:1.22 --- src/sys/dev/mca/aha_mca.c:1.21 Mon Sep 21 08:12:47 2009 +++ src/sys/dev/mca/aha_mca.c Tue Sep 22 13:22:53 2009 @@ -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);