summaryrefslogtreecommitdiffstats
path: root/sys/dev/rc
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-12-10 13:40:44 +0000
committerphk <phk@FreeBSD.org>1995-12-10 13:40:44 +0000
commite7008a284eab826ab8cc8f3cdadd22a325c67196 (patch)
treeaaefb89a560ab76e15fa576ab1458dd020b6e04e /sys/dev/rc
parent6a1611e3f8697d6b86f0ce460a09f863f0645323 (diff)
downloadFreeBSD-src-e7008a284eab826ab8cc8f3cdadd22a325c67196.zip
FreeBSD-src-e7008a284eab826ab8cc8f3cdadd22a325c67196.tar.gz
Staticize and cleanup.
Diffstat (limited to 'sys/dev/rc')
-rw-r--r--sys/dev/rc/rc.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/sys/dev/rc/rc.c b/sys/dev/rc/rc.c
index 206b38f..71d4fc0 100644
--- a/sys/dev/rc/rc.c
+++ b/sys/dev/rc/rc.c
@@ -62,8 +62,8 @@
/* Prototypes */
-int rcprobe __P((struct isa_device *));
-int rcattach __P((struct isa_device *));
+static int rcprobe __P((struct isa_device *));
+static int rcattach __P((struct isa_device *));
/*-
* This space intentionally left blank to stop __LINE__ from screwing up
@@ -151,8 +151,8 @@ static struct rc_chans {
static int rc_scheduled_event = 0;
/* for pstat -t */
-struct tty rc_tty[NRC * CD180_NCHAN];
-int nrc_tty = NRC * CD180_NCHAN;
+static struct tty rc_tty[NRC * CD180_NCHAN];
+static int nrc_tty = NRC * CD180_NCHAN;
/* Flags */
#define RC_DTR_OFF 0x0001 /* DTR wait, for close/open */
@@ -199,7 +199,8 @@ static void rc_wait0 __P((int nec, int unit, int chan, int line));
/**********************************************/
/* Quick device probing */
-int rcprobe(dvp)
+static int
+rcprobe(dvp)
struct isa_device *dvp;
{
int irq = ffs(dvp->id_irq) - 1;
@@ -253,7 +254,8 @@ rc_registerdev(id)
dev_attach(&kdc_rc[unit]);
}
-int rcattach(dvp)
+static int
+rcattach(dvp)
struct isa_device *dvp;
{
register int i, chan, nec = dvp->id_iobase;
OpenPOWER on IntegriCloud