summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/wt.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-12-18 18:07:10 +0000
committerbde <bde@FreeBSD.org>1998-12-18 18:07:10 +0000
commitc26aa71e027845a63fb309ceb5380d0050929e7c (patch)
tree52415920a839d01febc20138553c44d179b32fb7 /sys/i386/isa/wt.c
parentb8af0c7d8dfc8fbe75c0f0479140cabd9d53d930 (diff)
downloadFreeBSD-src-c26aa71e027845a63fb309ceb5380d0050929e7c.zip
FreeBSD-src-c26aa71e027845a63fb309ceb5380d0050929e7c.tar.gz
Removed unused (slightly wrong) stub functions.
Fixed some staticization obfuscations.
Diffstat (limited to 'sys/i386/isa/wt.c')
-rw-r--r--sys/i386/isa/wt.c26
1 files changed, 5 insertions, 21 deletions
diff --git a/sys/i386/isa/wt.c b/sys/i386/isa/wt.c
index 36fb934..c8712ca 100644
--- a/sys/i386/isa/wt.c
+++ b/sys/i386/isa/wt.c
@@ -20,7 +20,7 @@
* the original CMU copyright notice.
*
* Version 1.3, Thu Nov 11 12:09:13 MSK 1993
- * $Id: wt.c,v 1.45 1998/07/04 22:30:19 julian Exp $
+ * $Id: wt.c,v 1.46 1998/10/22 05:58:41 bde Exp $
*
*/
@@ -189,8 +189,6 @@ static d_read_t wtread;
static d_write_t wtwrite;
static d_close_t wtclose;
static d_ioctl_t wtioctl;
-static d_dump_t wtdump;
-static d_psize_t wtsize;
static d_strategy_t wtstrategy;
#define CDEV_MAJOR 10
@@ -277,24 +275,10 @@ wtattach (struct isa_device *id)
struct isa_driver wtdriver = { wtprobe, wtattach, "wt", };
-int
-wtdump (dev_t dev)
-{
- /* Not implemented */
- return (EINVAL);
-}
-
-int
-wtsize (dev_t dev)
-{
- /* Not implemented */
- return (-1);
-}
-
/*
* Open routine, called on every device open.
*/
-int
+static int
wtopen (dev_t dev, int flag, int fmt, struct proc *p)
{
int u = minor (dev) & T_UNIT;
@@ -375,7 +359,7 @@ wtopen (dev_t dev, int flag, int fmt, struct proc *p)
/*
* Close routine, called on last device close.
*/
-int
+static int
wtclose (dev_t dev, int flags, int fmt, struct proc *p)
{
int u = minor (dev) & T_UNIT;
@@ -424,7 +408,7 @@ done:
* ioctl (int fd, MTIOCGET, struct mtget *buf) -- get status
* ioctl (int fd, MTIOCTOP, struct mtop *buf) -- do BSD-like op
*/
-int
+static int
wtioctl (dev_t dev, u_long cmd, caddr_t arg, int flags, struct proc *p)
{
int u = minor (dev) & T_UNIT;
@@ -527,7 +511,7 @@ wtwrite(dev_t dev, struct uio *uio, int ioflag)
/*
* Strategy routine.
*/
-void
+static void
wtstrategy (struct buf *bp)
{
int u = minor (bp->b_dev) & T_UNIT;
OpenPOWER on IntegriCloud