Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbmips/isa white space cleanup.
details: https://anonhg.NetBSD.org/src/rev/9995e3ee150b
branches: trunk
changeset: 767085:9995e3ee150b
user: matt <matt%NetBSD.org@localhost>
date: Fri Jul 08 18:49:48 2011 +0000
description:
white space cleanup.
diffstat:
sys/arch/evbmips/isa/mcclock_isa.c | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diffs (52 lines):
diff -r e21a49da2be9 -r 9995e3ee150b sys/arch/evbmips/isa/mcclock_isa.c
--- a/sys/arch/evbmips/isa/mcclock_isa.c Fri Jul 08 18:49:27 2011 +0000
+++ b/sys/arch/evbmips/isa/mcclock_isa.c Fri Jul 08 18:49:48 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mcclock_isa.c,v 1.13 2011/07/01 18:46:35 dyoung Exp $ */
+/* $NetBSD: mcclock_isa.c,v 1.14 2011/07/08 18:49:48 matt Exp $ */
/*
* Copyright (c) 1995, 1996 Carnegie-Mellon University.
@@ -29,7 +29,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: mcclock_isa.c,v 1.13 2011/07/01 18:46:35 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mcclock_isa.c,v 1.14 2011/07/08 18:49:48 matt Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -51,9 +51,9 @@
#define ALGOR_YEAR_ZERO 1920
static int mcclock_isa_match(device_t, cfdata_t, void *);
-static void mcclock_isa_attach(device_t, device_t, void *);
+static void mcclock_isa_attach(device_t, device_t, void *);
-CFATTACH_DECL_NEW(mcclock_isa, sizeof (struct mc146818_softc),
+CFATTACH_DECL_NEW(mcclock_isa, sizeof(struct mc146818_softc),
mcclock_isa_match, mcclock_isa_attach, NULL, NULL);
static void mcclock_isa_write(struct mc146818_softc *, u_int, u_int);
@@ -125,10 +125,11 @@
MC_REGB_24HR);
mc146818_attach(sc);
+
aprint_normal("\n");
}
-void
+static void
mcclock_isa_write(struct mc146818_softc *sc, u_int reg, u_int datum)
{
bus_space_tag_t iot = sc->sc_bst;
@@ -138,7 +139,7 @@
bus_space_write_1(iot, ioh, 1, datum);
}
-u_int
+static u_int
mcclock_isa_read(struct mc146818_softc *sc, u_int reg)
{
bus_space_tag_t iot = sc->sc_bst;
Home |
Main Index |
Thread Index |
Old Index