Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/dreamcast/dreamcast Make local functions/variable s...
details: https://anonhg.NetBSD.org/src/rev/a1ce121a7cc9
branches: trunk
changeset: 758927:a1ce121a7cc9
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sun Nov 21 18:53:56 2010 +0000
description:
Make local functions/variable static.
diffstat:
sys/arch/dreamcast/dreamcast/mainbus.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (33 lines):
diff -r f150d6734c4e -r a1ce121a7cc9 sys/arch/dreamcast/dreamcast/mainbus.c
--- a/sys/arch/dreamcast/dreamcast/mainbus.c Sun Nov 21 18:33:08 2010 +0000
+++ b/sys/arch/dreamcast/dreamcast/mainbus.c Sun Nov 21 18:53:56 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mainbus.c,v 1.10 2010/11/21 17:59:36 tsutsui Exp $ */
+/* $NetBSD: mainbus.c,v 1.11 2010/11/21 18:53:56 tsutsui Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -27,18 +27,18 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.10 2010/11/21 17:59:36 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.11 2010/11/21 18:53:56 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
#include <machine/autoconf.h>
-int mainbus_match(device_t, cfdata_t, void *);
-void mainbus_attach(device_t, device_t, void *);
-int mainbus_print(void *, const char *);
+static int mainbus_match(device_t, cfdata_t, void *);
+static void mainbus_attach(device_t, device_t, void *);
+static int mainbus_print(void *, const char *);
-struct mainbus_attach_args mainbusdevs[] = {
+static struct mainbus_attach_args mainbusdevs[] = {
{ "cpu" },
{ "shb" },
{ NULL } /* terminator */
Home |
Main Index |
Thread Index |
Old Index