summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2005-01-13 17:54:25 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2005-01-13 17:54:25 +0000
commit59d32bbeb58766969aaf13c567c787dc1fb76f83 (patch)
tree2ae737f2daaf044a0f8a2fd3266f3166609411cb
parent5fb4511865ce165058de9249327870afc8d5bba0 (diff)
die static
-rw-r--r--sys/arch/arm/xscale/pxa2x0.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/sys/arch/arm/xscale/pxa2x0.c b/sys/arch/arm/xscale/pxa2x0.c
index cc791128af0..543057847f5 100644
--- a/sys/arch/arm/xscale/pxa2x0.c
+++ b/sys/arch/arm/xscale/pxa2x0.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pxa2x0.c,v 1.3 2005/01/12 17:14:37 uwe Exp $ */
+/* $OpenBSD: pxa2x0.c,v 1.4 2005/01/13 17:54:24 drahn Exp $ */
/* $NetBSD: pxa2x0.c,v 1.5 2003/12/12 16:42:44 thorpej Exp $ */
/*
@@ -127,11 +127,11 @@ struct pxaip_softc {
};
/* prototypes */
-static int pxaip_match(struct device *, void *, void *);
-static void pxaip_attach(struct device *, struct device *, void *);
-static int pxaip_search(struct device *, void *, void *);
-static void pxaip_attach_critical(struct pxaip_softc *);
-static int pxaip_print(void *, const char *);
+int pxaip_match(struct device *, void *, void *);
+void pxaip_attach(struct device *, struct device *, void *);
+int pxaip_search(struct device *, void *, void *);
+void pxaip_attach_critical(struct pxaip_softc *);
+int pxaip_print(void *, const char *);
int pxaip_measure_cpuclock(struct pxaip_softc *);
@@ -149,16 +149,16 @@ struct cfdriver pxaip_cd = {
};
#endif
-static struct pxaip_softc *pxaip_sc;
+struct pxaip_softc *pxaip_sc;
-static int
+int
pxaip_match(struct device *parent, void *match, void *aux)
{
return 1;
}
-static void
+void
pxaip_attach(struct device *parent, struct device *self, void *aux)
{
struct pxaip_softc *sc = (struct pxaip_softc *)self;
@@ -198,7 +198,7 @@ pxaip_attach(struct device *parent, struct device *self, void *aux)
}
-static int
+int
pxaip_search(struct device *parent, void *c, void *aux)
{
struct pxaip_softc *sc = aux;
@@ -224,7 +224,7 @@ pxaip_search(struct device *parent, void *c, void *aux)
return 0;
}
-static void
+void
pxaip_attach_critical(struct pxaip_softc *sc)
{
struct pxaip_attach_args aa;
@@ -258,7 +258,7 @@ pxaip_attach_critical(struct pxaip_softc *sc)
#endif
}
-static int
+int
pxaip_print(void *aux, const char *name)
{
struct pxaip_attach_args *sa = (struct pxaip_attach_args*)aux;