From 32a73ad530917a145974381a8afcf1c282de9687 Mon Sep 17 00:00:00 2001 From: phk Date: Wed, 16 Oct 2002 08:48:39 +0000 Subject: Be consistent about functions being static. Spotted by: FlexeLint. --- sys/dev/rp/rp.c | 6 +++--- sys/dev/rp/rp_isa.c | 2 +- sys/dev/rp/rp_pci.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'sys/dev/rp') 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); -- cgit v1.1