summaryrefslogtreecommitdiffstats
path: root/sys/dev/rp
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-10-16 08:48:39 +0000
committerphk <phk@FreeBSD.org>2002-10-16 08:48:39 +0000
commit32a73ad530917a145974381a8afcf1c282de9687 (patch)
tree89ff719c9c7ae5edd6c20e1323063539f8428e22 /sys/dev/rp
parent11d2dcbede9e1dd071a38a4d5e23bde0d7d39b6c (diff)
downloadFreeBSD-src-32a73ad530917a145974381a8afcf1c282de9687.zip
FreeBSD-src-32a73ad530917a145974381a8afcf1c282de9687.tar.gz
Be consistent about functions being static.
Spotted by: FlexeLint.
Diffstat (limited to 'sys/dev/rp')
-rw-r--r--sys/dev/rp/rp.c6
-rw-r--r--sys/dev/rp/rp_isa.c2
-rw-r--r--sys/dev/rp/rp_pci.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/rp/rp.c b/sys/dev/rp/rp.c
index 3176ca4..148267a 100644
--- a/sys/dev/rp/rp.c
+++ b/sys/dev/rp/rp.c
@@ -955,7 +955,7 @@ rp_releaseresource(CONTROLLER_t *ctlp)
}
}
-int
+static int
rpopen(dev, flag, mode, td)
dev_t dev;
int flag, mode;
@@ -1114,7 +1114,7 @@ out2:
return(error);
}
-int
+static int
rpclose(dev, flag, mode, td)
dev_t dev;
int flag, mode;
@@ -1229,7 +1229,7 @@ rpdtrwakeup(void *chan)
wakeup(&rp->dtr_wait);
}
-int
+static int
rpioctl(dev, cmd, data, flag, td)
dev_t dev;
u_long cmd;
diff --git a/sys/dev/rp/rp_isa.c b/sys/dev/rp/rp_isa.c
index bbbdcb2..3e40c31 100644
--- a/sys/dev/rp/rp_isa.c
+++ b/sys/dev/rp/rp_isa.c
@@ -476,7 +476,7 @@ rp_isa_aiop2off(int aiop, int offset)
}
/* Read the int status for an ISA controller. */
-unsigned char
+static unsigned char
rp_isa_ctlmask(CONTROLLER_t *ctlp)
{
return sGetControllerIntStatus(rp_controller,ctlp);
diff --git a/sys/dev/rp/rp_pci.c b/sys/dev/rp/rp_pci.c
index fa25dea..0e10266 100644
--- a/sys/dev/rp/rp_pci.c
+++ b/sys/dev/rp/rp_pci.c
@@ -338,7 +338,7 @@ rp_pci_aiop2off(int aiop, int offset)
}
/* Read the int status for a PCI controller. */
-unsigned char
+static unsigned char
rp_pci_ctlmask(CONTROLLER_t *ctlp)
{
return sPCIGetControllerIntStatus(ctlp);
OpenPOWER on IntegriCloud