Module Name: src
Committed By: tsutsui
Date: Fri Feb 18 19:15:06 UTC 2011
Modified Files:
src/sys/arch/hp300/dev: sgc.c
Log Message:
Make local functions static.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/hp300/dev/sgc.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/arch/hp300/dev/sgc.c
diff -u src/sys/arch/hp300/dev/sgc.c:1.1 src/sys/arch/hp300/dev/sgc.c:1.2
--- src/sys/arch/hp300/dev/sgc.c:1.1 Sat Feb 12 05:15:39 2011
+++ src/sys/arch/hp300/dev/sgc.c Fri Feb 18 19:15:06 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: sgc.c,v 1.1 2011/02/12 05:15:39 tsutsui Exp $ */
+/* $NetBSD: sgc.c,v 1.2 2011/02/18 19:15:06 tsutsui Exp $ */
/* $OpenBSD: sgc.c,v 1.6 2010/04/15 20:35:21 miod Exp $ */
/*
@@ -55,9 +55,9 @@
struct bus_space_tag sc_tag;
};
-int sgcmatch(device_t, cfdata_t, void *);
-void sgcattach(device_t, device_t, void *);
-int sgcprint(void *, const char *);
+static int sgcmatch(device_t, cfdata_t, void *);
+static void sgcattach(device_t, device_t, void *);
+static int sgcprint(void *, const char *);
CFATTACH_DECL_NEW(sgc, sizeof(struct sgc_softc),
sgcmatch, sgcattach, NULL, NULL);