Fix some mildly annoying compiler warnings about unused variables
and incorrect types in printf() format strings.
This commit is contained in:
parent
d0bf24fc77
commit
b8b442b5ab
@ -58,7 +58,6 @@ static int comcnrate = CONSPEED;
|
||||
|
||||
void dec_2100_a50_init __P((void));
|
||||
static void dec_2100_a50_cons_init __P((void));
|
||||
static void dec_2100_a50_device_register __P((struct device *, void *));
|
||||
static void dec_2100_a50_intr_map __P((void *));
|
||||
void sio_intr_establish __P((int));
|
||||
void sio_intr_disestablish __P((int));
|
||||
@ -149,7 +148,7 @@ dec_2100_a50_cons_init()
|
||||
printf("ctb->ctb_term_type = 0x%lx\n", ctb->ctb_term_type);
|
||||
printf("ctb->ctb_turboslot = 0x%lx\n", ctb->ctb_turboslot);
|
||||
|
||||
panic("consinit: unknown console type %d\n",
|
||||
panic("consinit: unknown console type %ld\n",
|
||||
ctb->ctb_term_type);
|
||||
}
|
||||
}
|
||||
@ -163,7 +162,6 @@ dec_2100_a50_intr_map(void *arg)
|
||||
u_int32_t pirqreg;
|
||||
int pirq=0; /* gcc -Wuninitialized XXX */
|
||||
pcicfgregs *cfg = (pcicfgregs *)arg;
|
||||
static int intr_setup_done=0;
|
||||
|
||||
/*
|
||||
* Slot->interrupt translation. Taken from NetBSD
|
||||
|
@ -78,7 +78,6 @@ extern int sccnattach __P((void));
|
||||
void
|
||||
st550_init()
|
||||
{
|
||||
int i;
|
||||
platform.family = "Digital Personal Workstation (Miata)";
|
||||
|
||||
if ((platform.model = alpha_dsr_sysname()) == NULL) {
|
||||
@ -141,7 +140,7 @@ st550_cons_init()
|
||||
printf("ctb->ctb_term_type = 0x%lx\n", ctb->ctb_term_type);
|
||||
printf("ctb->ctb_turboslot = 0x%lx\n", ctb->ctb_turboslot);
|
||||
|
||||
panic("consinit: unknown console type %d\n",
|
||||
panic("consinit: unknown console type %ld\n",
|
||||
ctb->ctb_term_type);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user