summaryrefslogtreecommitdiffstats
path: root/sys/dev/sio
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-09-28 17:15:38 +0000
committerphk <phk@FreeBSD.org>2002-09-28 17:15:38 +0000
commit1dfc2c167f0c0ee95c98088b2c05b50350b97ddb (patch)
tree072f805928e7e540a4d2c0a3a7ec37f7529204a0 /sys/dev/sio
parent523f5243860c40ec5c7a3e961080d6035dbcb435 (diff)
downloadFreeBSD-src-1dfc2c167f0c0ee95c98088b2c05b50350b97ddb.zip
FreeBSD-src-1dfc2c167f0c0ee95c98088b2c05b50350b97ddb.tar.gz
Be consistent about "static" functions: if the function is marked
static in its prototype, mark it static at the definition too. Inspired by: FlexeLint warning #512
Diffstat (limited to 'sys/dev/sio')
-rw-r--r--sys/dev/sio/sio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index 8659a3b..42dbd06 100644
--- a/sys/dev/sio/sio.c
+++ b/sys/dev/sio/sio.c
@@ -1635,7 +1635,7 @@ sioinput(com)
outb(com->modem_ctl_port, com->mcr_image |= MCR_RTS);
}
-void
+static void
siointr(arg)
void *arg;
{
@@ -3149,7 +3149,7 @@ siocncheckc(dev)
}
-int
+static int
siocngetc(dev)
dev_t dev;
{
@@ -3176,7 +3176,7 @@ siocngetc(dev)
return (c);
}
-void
+static void
siocnputc(dev, c)
dev_t dev;
int c;
OpenPOWER on IntegriCloud