diff options
author | phk <phk@FreeBSD.org> | 1995-12-10 13:40:44 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-12-10 13:40:44 +0000 |
commit | e7008a284eab826ab8cc8f3cdadd22a325c67196 (patch) | |
tree | aaefb89a560ab76e15fa576ab1458dd020b6e04e /sys/i386/isa/matcd/matcd.c | |
parent | 6a1611e3f8697d6b86f0ce460a09f863f0645323 (diff) | |
download | FreeBSD-src-e7008a284eab826ab8cc8f3cdadd22a325c67196.zip FreeBSD-src-e7008a284eab826ab8cc8f3cdadd22a325c67196.tar.gz |
Staticize and cleanup.
Diffstat (limited to 'sys/i386/isa/matcd/matcd.c')
-rw-r--r-- | sys/i386/isa/matcd/matcd.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/sys/i386/isa/matcd/matcd.c b/sys/i386/isa/matcd/matcd.c index 20f5116..43726c5 100644 --- a/sys/i386/isa/matcd/matcd.c +++ b/sys/i386/isa/matcd/matcd.c @@ -337,7 +337,7 @@ static char MATCDVERSION[]="Version 1(26) 18-Oct-95"; static char MATCDCOPYRIGHT[] = "Matsushita CD-ROM driver, Copr. 1994,1995 Frank Durda IV"; /* The proceeding strings may not be changed*/ -/* $Id:$ */ +/* $Id: matcd.c,v 1.12 1995/12/08 11:16:24 julian Exp $ */ /*--------------------------------------------------------------------------- Include declarations @@ -546,8 +546,8 @@ static struct kern_devconf kdc_matcd[TOTALDRIVES] = { { /*<12>*/ --- not any more :) ---------------------------------------------------------------------------*/ -extern int matcd_probe(struct isa_device *dev); -extern int matcd_attach(struct isa_device *dev); +static int matcd_probe(struct isa_device *dev); +static int matcd_attach(struct isa_device *dev); struct isa_driver matcddriver={matcd_probe, matcd_attach, /*<16>*/ "matcdc"}; /*<20>*/ @@ -1276,7 +1276,8 @@ int matcdsize(dev_t dev) ---------------------------------------------------------------------------*/ -int matcd_probe(struct isa_device *dev) +static int +matcd_probe(struct isa_device *dev) { int i,cdrive; unsigned char y; @@ -1450,7 +1451,8 @@ static inline void matcd_register(struct isa_device *id) what it would be. ---------------------------------------------------------------------------*/ -int matcd_attach(struct isa_device *dev) +static int +matcd_attach(struct isa_device *dev) { int i; unsigned int z,cdrive; @@ -1801,7 +1803,8 @@ NOTE - Undocumented action of hardware: If you change (or reaffirm) data not fully understood. ---------------------------------------------------------------------------*/ -int matcd_setmode(int ldrive, int mode) +static int +matcd_setmode(int ldrive, int mode) { struct matcd_data *cd; int retries; |