More compiler suggested cleanups
This commit is contained in:
parent
6c42556d30
commit
d01b070dcf
3 changed files with 5 additions and 4 deletions
|
@ -2623,7 +2623,8 @@ static t_stat pcr_svc (UNIT *uptr)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case OP_READING:
|
case OP_READING:
|
||||||
if (pcr_nready >= 2) { /* if there is a whole column buffered, simulate column interrupt/* pcr_trigger_interrupt_0 - simulate a read response interrupt so OS will read queued column data */
|
if (pcr_nready >= 2) { /* if there is a whole column buffered, simulate column interrupt*/
|
||||||
|
/* pcr_trigger_interrupt_0 - simulate a read response interrupt so OS will read queued column data */
|
||||||
|
|
||||||
pcr_trigger_interrupt_0();
|
pcr_trigger_interrupt_0();
|
||||||
sim_activate(&cr_unit, cr_wait); /* keep checking frequently */
|
sim_activate(&cr_unit, cr_wait); /* keep checking frequently */
|
||||||
|
|
|
@ -384,7 +384,7 @@ static void diskfail (UNIT *uptr, int dswflag, int unitflag, t_bool do_interrupt
|
||||||
sim_activate(uptr, 1); /* schedule an immediate op complete interrupt */
|
sim_activate(uptr, 1); /* schedule an immediate op complete interrupt */
|
||||||
}
|
}
|
||||||
|
|
||||||
t_stat dsk_svc (UNIT *uptr)
|
static t_stat dsk_svc (UNIT *uptr)
|
||||||
{
|
{
|
||||||
int drv = uptr - dsk_unit, i, nwords, sec;
|
int drv = uptr - dsk_unit, i, nwords, sec;
|
||||||
int16 buf[DSK_NUMWD];
|
int16 buf[DSK_NUMWD];
|
||||||
|
@ -465,7 +465,7 @@ t_stat dsk_svc (UNIT *uptr)
|
||||||
return SCPE_OK;
|
return SCPE_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
t_stat dsk_reset (DEVICE *dptr)
|
static t_stat dsk_reset (DEVICE *dptr)
|
||||||
{
|
{
|
||||||
int drv;
|
int drv;
|
||||||
UNIT *uptr;
|
UNIT *uptr;
|
||||||
|
|
|
@ -298,7 +298,7 @@ void xio_1131_console (int32 iocc_addr, int32 func, int32 modify)
|
||||||
|
|
||||||
/* emit_conout_character - write character with 1130 console code 'ch' */
|
/* emit_conout_character - write character with 1130 console code 'ch' */
|
||||||
|
|
||||||
t_stat emit_conout_character (int ch)
|
static t_stat emit_conout_character (int ch)
|
||||||
{
|
{
|
||||||
t_stat status;
|
t_stat status;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue