summaryrefslogtreecommitdiffstats
path: root/sys/i4b/tina-dd
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1999-01-12 11:05:03 +0000
committereivind <eivind@FreeBSD.org>1999-01-12 11:05:03 +0000
commit10fe024e74a62f0e6658d88d9ffcb055d77e6c56 (patch)
treee001ca5cdf3b45d65738514da777d6e11a3b83e4 /sys/i4b/tina-dd
parent781ad75bd78c6d6d2e55bd641f1b7c19cecc5ada (diff)
downloadFreeBSD-src-10fe024e74a62f0e6658d88d9ffcb055d77e6c56.zip
FreeBSD-src-10fe024e74a62f0e6658d88d9ffcb055d77e6c56.tar.gz
Silence warnings.
Approved by: hm
Diffstat (limited to 'sys/i4b/tina-dd')
-rw-r--r--sys/i4b/tina-dd/i4b_tina_dd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/i4b/tina-dd/i4b_tina_dd.c b/sys/i4b/tina-dd/i4b_tina_dd.c
index 7a5e010..e210d00 100644
--- a/sys/i4b/tina-dd/i4b_tina_dd.c
+++ b/sys/i4b/tina-dd/i4b_tina_dd.c
@@ -28,7 +28,7 @@
* i4b_tina_dd.c - i4b Stollman Tina-dd control device driver
* ----------------------------------------------------------
*
- * $Id: i4b_tina_dd.c,v 1.3 1998/12/05 18:06:19 hm Exp $
+ * $Id: i4b_tina_dd.c,v 1.1 1998/12/27 21:46:53 phk Exp $
*
* last edit-date: [Sat Dec 5 18:41:38 1998]
*
@@ -71,6 +71,7 @@ static int openflag = 0;
int tinaprobe(struct isa_device *dev);
int tinaattach(struct isa_device *dev);
+void tinaintr(int unit);
struct isa_driver tinadriver = {
tinaprobe,
@@ -113,7 +114,6 @@ static void writeblock(unsigned short iobase, unsigned char *src,
int
tinaprobe(struct isa_device *dev)
{
- struct tina_softc *sc = &tina_sc[dev->id_unit];
u_char byte;
#define SETLOW 0x55
@@ -176,7 +176,6 @@ tinaattach(struct isa_device *dev)
void
tinaintr(int unit)
{
- struct tina_softc *sc = &tina_sc[unit];
}
#if BSD > 199306 && defined(__FreeBSD__)
@@ -233,7 +232,6 @@ tinaioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
struct tina_softc *sc = &tina_sc[minor(dev)];
u_short iobase = sc->sc_iobase;
int error = 0;
- char *ptr;
int s;
if(minor(dev))
OpenPOWER on IntegriCloud