summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_bus.c
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2003-04-30 12:57:40 +0000
committermarkm <markm@FreeBSD.org>2003-04-30 12:57:40 +0000
commit6cc289554b8533c3a4ccee449df82dd25964011a (patch)
tree78f25ba6828418e0a4c21039c67b86f39bb61181 /sys/kern/subr_bus.c
parentbc54a1bc8ba917055c728fd55e152d1aede2174c (diff)
downloadFreeBSD-src-6cc289554b8533c3a4ccee449df82dd25964011a.zip
FreeBSD-src-6cc289554b8533c3a4ccee449df82dd25964011a.tar.gz
Fix some easy, global, lint warnings. In most cases, this means
making some local variables static. In a couple of cases, this means removing an unused variable.
Diffstat (limited to 'sys/kern/subr_bus.c')
-rw-r--r--sys/kern/subr_bus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_bus.c b/sys/kern/subr_bus.c
index 8a68b9d..740066e 100644
--- a/sys/kern/subr_bus.c
+++ b/sys/kern/subr_bus.c
@@ -234,7 +234,7 @@ struct dev_event_info
TAILQ_HEAD(devq, dev_event_info);
-struct dev_softc
+static struct dev_softc
{
int inuse;
int nonblock;
@@ -245,7 +245,7 @@ struct dev_softc
struct proc *async_proc;
} devsoftc;
-dev_t devctl_dev;
+static dev_t devctl_dev;
static void
devinit(void)
OpenPOWER on IntegriCloud