1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

Staticize.

This commit is contained in:
Eivind Eklund 1999-04-11 03:06:07 +00:00
parent bff24b1f66
commit c6d0e3f0c1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=45577
13 changed files with 25 additions and 25 deletions

View File

@ -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];

View File

@ -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;

View File

@ -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...

View File

@ -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...

View File

@ -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;

View File

@ -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

View File

@ -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

View File

@ -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];

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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...

View File

@ -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...