summaryrefslogtreecommitdiffstats
path: root/sys/dev/nmdm
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2001-02-27 17:52:49 +0000
committerjulian <julian@FreeBSD.org>2001-02-27 17:52:49 +0000
commit00392505c31157e6b39c5355e57cd1581b186500 (patch)
tree0da4cbb99fc6be16848e7c70b7c8e40f627608e0 /sys/dev/nmdm
parent7132567ff2117ad6868e8a8f3e151a2d72c64d83 (diff)
downloadFreeBSD-src-00392505c31157e6b39c5355e57cd1581b186500.zip
FreeBSD-src-00392505c31157e6b39c5355e57cd1581b186500.tar.gz
Remove warnings.. seems to compile as a module now too.
Diffstat (limited to 'sys/dev/nmdm')
-rw-r--r--sys/dev/nmdm/nmdm.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/nmdm/nmdm.c b/sys/dev/nmdm/nmdm.c
index 774f1b3..d006ee0 100644
--- a/sys/dev/nmdm/nmdm.c
+++ b/sys/dev/nmdm/nmdm.c
@@ -484,11 +484,9 @@ nmdmstop(tp, flush)
wakeup_other(tp, flag);
}
+#if 0
static int
-nmdmpoll(dev, events, p)
- dev_t dev;
- int events;
- struct proc *p;
+nmdmpoll(dev_t dev, int events, struct proc *p)
{
register struct tty *tp = dev->si_tty;
register struct tty *tp2;
@@ -547,6 +545,7 @@ nmdmpoll(dev, events, p)
return (revents);
}
+#endif /* 0 */
/*ARGSUSED*/
static int
OpenPOWER on IntegriCloud