diff options
author | eivind <eivind@FreeBSD.org> | 1999-04-11 03:06:07 +0000 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 1999-04-11 03:06:07 +0000 |
commit | 94b16edfb74a4dd3acebabd323041c2942bf9522 (patch) | |
tree | cc3f9695cde322c17bdb713025c5e60f13dd5a5a | |
parent | 7c680e088dae07c097a8f36169e7016264ee9bf4 (diff) | |
download | FreeBSD-src-94b16edfb74a4dd3acebabd323041c2942bf9522.zip FreeBSD-src-94b16edfb74a4dd3acebabd323041c2942bf9522.tar.gz |
Staticize.
-rw-r--r-- | sys/dev/advansys/adv_isa.c | 6 | ||||
-rw-r--r-- | sys/dev/ahb/ahb.c | 4 | ||||
-rw-r--r-- | sys/dev/si/si2_z280.c | 2 | ||||
-rw-r--r-- | sys/dev/si/si3_t225.c | 2 | ||||
-rw-r--r-- | sys/i386/eisa/ahb.c | 4 | ||||
-rw-r--r-- | sys/i386/i386/math_emulate.c | 4 | ||||
-rw-r--r-- | sys/i386/ibcs2/ibcs2_sysvec.c | 4 | ||||
-rw-r--r-- | sys/i386/isa/adv_isa.c | 6 | ||||
-rw-r--r-- | sys/i386/isa/loran.c | 8 | ||||
-rw-r--r-- | sys/i386/isa/pcvt/pcvt_drv.c | 2 | ||||
-rw-r--r-- | sys/i386/isa/pnp.c | 4 | ||||
-rw-r--r-- | sys/i386/isa/si2_z280.c | 2 | ||||
-rw-r--r-- | sys/i386/isa/si3_t225.c | 2 |
13 files changed, 25 insertions, 25 deletions
diff --git a/sys/dev/advansys/adv_isa.c b/sys/dev/advansys/adv_isa.c index 7e9b84d..6d9e4c2 100644 --- a/sys/dev/advansys/adv_isa.c +++ b/sys/dev/advansys/adv_isa.c @@ -44,7 +44,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: adv_isa.c,v 1.7 1998/11/10 06:44:54 gibbs Exp $ + * $Id: adv_isa.c,v 1.8 1998/12/22 18:14:12 gibbs Exp $ */ #include <sys/param.h> @@ -76,7 +76,7 @@ static bus_dmamap_t overrun_dmamap; static bus_addr_t overrun_physbase; /* Possible port addresses an ISA or VL adapter can live at */ -u_int16_t adv_isa_ioports[] = +static u_int16_t adv_isa_ioports[] = { 0x100, 0x110, /* First selection in BIOS setup */ @@ -375,7 +375,7 @@ adv_set_isapnp_wait_for_key(void) * XXX should go away as soon as ISA interrupt handlers * take a (void *) arg. */ -void +static void adv_isa_intr(void *unit) { struct adv_softc *arg = advsoftcs[(int)unit]; diff --git a/sys/dev/ahb/ahb.c b/sys/dev/ahb/ahb.c index f86e82e..46c7b56 100644 --- a/sys/dev/ahb/ahb.c +++ b/sys/dev/ahb/ahb.c @@ -25,7 +25,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: ahb.c,v 1.6 1999/01/28 03:30:02 gibbs Exp $ + * $Id: ahb.c,v 1.7 1999/03/05 23:37:07 gibbs Exp $ */ #include "eisa.h" @@ -1253,7 +1253,7 @@ ahbpoll(struct cam_sim *sim) ahbintr(cam_sim_softc(sim)); } -void +static void ahbtimeout(void *arg) { struct ecb *ecb; diff --git a/sys/dev/si/si2_z280.c b/sys/dev/si/si2_z280.c index 72596d4..28261fa 100644 --- a/sys/dev/si/si2_z280.c +++ b/sys/dev/si/si2_z280.c @@ -30,7 +30,7 @@ /* SI2_Z280.C Version, Bootstrap and Download Code Arrays... */ -char *si2_z280_ident = "%W%"; +static char *si2_z280_ident = "%W%"; /* SI2_Z280 embedded version... diff --git a/sys/dev/si/si3_t225.c b/sys/dev/si/si3_t225.c index 4d26911..2b70a6c 100644 --- a/sys/dev/si/si3_t225.c +++ b/sys/dev/si/si3_t225.c @@ -30,7 +30,7 @@ /* SI3_T225.C Version, Bootstrap and Download Code Arrays... */ -char *si3_t225_ident = "%W%"; +static char *si3_t225_ident = "%W%"; /* SI3_T225 embedded version... diff --git a/sys/i386/eisa/ahb.c b/sys/i386/eisa/ahb.c index f86e82e..46c7b56 100644 --- a/sys/i386/eisa/ahb.c +++ b/sys/i386/eisa/ahb.c @@ -25,7 +25,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: ahb.c,v 1.6 1999/01/28 03:30:02 gibbs Exp $ + * $Id: ahb.c,v 1.7 1999/03/05 23:37:07 gibbs Exp $ */ #include "eisa.h" @@ -1253,7 +1253,7 @@ ahbpoll(struct cam_sim *sim) ahbintr(cam_sim_softc(sim)); } -void +static void ahbtimeout(void *arg) { struct ecb *ecb; diff --git a/sys/i386/i386/math_emulate.c b/sys/i386/i386/math_emulate.c index 3eff8ac..7f93e4b 100644 --- a/sys/i386/i386/math_emulate.c +++ b/sys/i386/i386/math_emulate.c @@ -6,7 +6,7 @@ * [expediant "port" of linux 8087 emulator to 386BSD, with apologies -wfj] * * from: 386BSD 0.1 - * $Id: math_emulate.c,v 1.32 1999/01/17 20:30:13 peter Exp $ + * $Id: math_emulate.c,v 1.33 1999/01/28 01:59:50 dillon Exp $ */ /* @@ -1570,7 +1570,7 @@ fpu_modevent(module_t mod, int type, void *unused) } return 0; } -moduledata_t fpumod = { +static moduledata_t fpumod = { "fpu", fpu_modevent, 0 diff --git a/sys/i386/ibcs2/ibcs2_sysvec.c b/sys/i386/ibcs2/ibcs2_sysvec.c index 9d2efe7..a9a25fd 100644 --- a/sys/i386/ibcs2/ibcs2_sysvec.c +++ b/sys/i386/ibcs2/ibcs2_sysvec.c @@ -27,7 +27,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: ibcs2_sysvec.c,v 1.13 1999/01/17 20:39:08 peter Exp $ + * $Id: ibcs2_sysvec.c,v 1.14 1999/02/04 21:21:38 newton Exp $ */ #include <sys/param.h> @@ -83,7 +83,7 @@ ibcs2_modevent(module_t mod, int type, void *unused) } return 0; } -moduledata_t ibcs2_mod = { +static moduledata_t ibcs2_mod = { "ibcs2", ibcs2_modevent, 0 diff --git a/sys/i386/isa/adv_isa.c b/sys/i386/isa/adv_isa.c index 7e9b84d..6d9e4c2 100644 --- a/sys/i386/isa/adv_isa.c +++ b/sys/i386/isa/adv_isa.c @@ -44,7 +44,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: adv_isa.c,v 1.7 1998/11/10 06:44:54 gibbs Exp $ + * $Id: adv_isa.c,v 1.8 1998/12/22 18:14:12 gibbs Exp $ */ #include <sys/param.h> @@ -76,7 +76,7 @@ static bus_dmamap_t overrun_dmamap; static bus_addr_t overrun_physbase; /* Possible port addresses an ISA or VL adapter can live at */ -u_int16_t adv_isa_ioports[] = +static u_int16_t adv_isa_ioports[] = { 0x100, 0x110, /* First selection in BIOS setup */ @@ -375,7 +375,7 @@ adv_set_isapnp_wait_for_key(void) * XXX should go away as soon as ISA interrupt handlers * take a (void *) arg. */ -void +static void adv_isa_intr(void *unit) { struct adv_softc *arg = advsoftcs[(int)unit]; diff --git a/sys/i386/isa/loran.c b/sys/i386/isa/loran.c index d4dca4d..f542302 100644 --- a/sys/i386/isa/loran.c +++ b/sys/i386/isa/loran.c @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: loran.c,v 1.13 1998/12/07 21:58:22 archie Exp $ + * $Id: loran.c,v 1.14 1998/12/16 11:46:41 phk Exp $ * * This device-driver helps the userland controlprogram for a LORAN-C * receiver avoid monopolizing the CPU. @@ -198,7 +198,7 @@ struct datapoint { /**********************************************************************/ -dphead_t minors[NLORAN], working, holding; +static dphead_t minors[NLORAN], working, holding; static struct datapoint dummy[NDUMMY]; @@ -242,7 +242,7 @@ loranprobe(struct isa_device *dvp) return (8); } -u_short tg_init[] = { /* stc initialization vector */ +static u_short tg_init[] = { /* stc initialization vector */ 0x0562, 12, 13, /* counter 1 (p0) Mode J */ 0x0262, PGUARD, GRI, /* counter 2 (gri) Mode J */ 0x8562, PCX, 5000 - PCX, /* counter 3 (pcx) */ @@ -250,7 +250,7 @@ u_short tg_init[] = { /* stc initialization vector */ 0x052a, 0, 0 /* counter 5 (out) */ }; -void +static void init_tgc(void) { int i; diff --git a/sys/i386/isa/pcvt/pcvt_drv.c b/sys/i386/isa/pcvt/pcvt_drv.c index affe955..f54a4a5 100644 --- a/sys/i386/isa/pcvt/pcvt_drv.c +++ b/sys/i386/isa/pcvt/pcvt_drv.c @@ -1392,7 +1392,7 @@ pcparam(struct tty *tp, struct termios *t) #define del 0177 #define cntld 4 -int +static int getchar(void) { u_char thechar; diff --git a/sys/i386/isa/pnp.c b/sys/i386/isa/pnp.c index a3635cb..dfa397c 100644 --- a/sys/i386/isa/pnp.c +++ b/sys/i386/isa/pnp.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: pnp.c,v 1.8 1998/11/21 01:54:50 archie Exp $ + * $Id: pnp.c,v 1.9 1999/01/14 06:22:07 jdp Exp $ */ #include <sys/param.h> @@ -46,7 +46,7 @@ typedef struct _pnp_id { } pnp_id; static int num_pnp_cards = 0; -pnp_id pnp_devices[MAX_PNP_CARDS]; +static pnp_id pnp_devices[MAX_PNP_CARDS]; struct pnp_dlist_node *pnp_device_list; static struct pnp_dlist_node **pnp_device_list_last_ptr; diff --git a/sys/i386/isa/si2_z280.c b/sys/i386/isa/si2_z280.c index 72596d4..28261fa 100644 --- a/sys/i386/isa/si2_z280.c +++ b/sys/i386/isa/si2_z280.c @@ -30,7 +30,7 @@ /* SI2_Z280.C Version, Bootstrap and Download Code Arrays... */ -char *si2_z280_ident = "%W%"; +static char *si2_z280_ident = "%W%"; /* SI2_Z280 embedded version... diff --git a/sys/i386/isa/si3_t225.c b/sys/i386/isa/si3_t225.c index 4d26911..2b70a6c 100644 --- a/sys/i386/isa/si3_t225.c +++ b/sys/i386/isa/si3_t225.c @@ -30,7 +30,7 @@ /* SI3_T225.C Version, Bootstrap and Download Code Arrays... */ -char *si3_t225_ident = "%W%"; +static char *si3_t225_ident = "%W%"; /* SI3_T225 embedded version... |