Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/hp300/dev Make local functions static.



details:   https://anonhg.NetBSD.org/src/rev/50daf74717fa
branches:  trunk
changeset: 762282:50daf74717fa
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Feb 18 19:15:06 2011 +0000

description:
Make local functions static.

diffstat:

 sys/arch/hp300/dev/sgc.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r 89f63836c47a -r 50daf74717fa sys/arch/hp300/dev/sgc.c
--- a/sys/arch/hp300/dev/sgc.c  Fri Feb 18 19:06:45 2011 +0000
+++ b/sys/arch/hp300/dev/sgc.c  Fri Feb 18 19:15:06 2011 +0000
@@ -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);



Home | Main Index | Thread Index | Old Index