summaryrefslogtreecommitdiffstats
path: root/sys/dev/pcf
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2004-07-04 16:11:03 +0000
committerstefanf <stefanf@FreeBSD.org>2004-07-04 16:11:03 +0000
commit9dea8aeba1c4f733fc95d1dfd11cfc8d3092a654 (patch)
tree0e3fe3a61275cb24fb693e8710ebc6420adf5306 /sys/dev/pcf
parentc8bc9c77afa1fbbf704376606a236020afdfba8e (diff)
downloadFreeBSD-src-9dea8aeba1c4f733fc95d1dfd11cfc8d3092a654.zip
FreeBSD-src-9dea8aeba1c4f733fc95d1dfd11cfc8d3092a654.tar.gz
Consistently use __inline instead of __inline__ as the former is an empty macro
in <sys/cdefs.h> for compilers without support for inline.
Diffstat (limited to 'sys/dev/pcf')
-rw-r--r--sys/dev/pcf/pcfvar.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pcf/pcfvar.h b/sys/dev/pcf/pcfvar.h
index ce7e9a9..258cfb7 100644
--- a/sys/dev/pcf/pcfvar.h
+++ b/sys/dev/pcf/pcfvar.h
@@ -86,7 +86,7 @@ struct pcf_softc {
/*
* Specific register access to PCF8584
*/
-static __inline__ void
+static __inline void
pcf_set_S0(struct pcf_softc *sc, int data)
{
bus_space_write_1(sc->res_ioport->r_bustag,
@@ -95,7 +95,7 @@ pcf_set_S0(struct pcf_softc *sc, int data)
pcf_nops();
}
-static __inline__ void
+static __inline void
pcf_set_S1(struct pcf_softc *sc, int data)
{
bus_space_write_1(sc->res_ioport->r_bustag,
@@ -104,7 +104,7 @@ pcf_set_S1(struct pcf_softc *sc, int data)
pcf_nops();
}
-static __inline__ char
+static __inline char
pcf_get_S0(struct pcf_softc *sc)
{
char data;
@@ -116,7 +116,7 @@ pcf_get_S0(struct pcf_softc *sc)
return (data);
}
-static __inline__ char
+static __inline char
pcf_get_S1(struct pcf_softc *sc)
{
char data;
OpenPOWER on IntegriCloud