More compiler identified cleanups

This commit is contained in:
Mark Pizzolato 2013-01-10 16:10:39 -08:00
parent 448d9e52fc
commit fae991d592
5 changed files with 12 additions and 12 deletions

View file

@ -297,7 +297,7 @@ DEVICE cpu_dev = {
NULL, NULL, NULL NULL, NULL, NULL
}; };
int32 sim_instr (void) t_stat sim_instr (void)
{ {
int32 PC, IR, OP, DAR, reason, hi, lo, carry, i; int32 PC, IR, OP, DAR, reason, hi, lo, carry, i;

View file

@ -925,7 +925,7 @@ $(SIMH_NONET_LIB) : $(SIMH_SOURCE)
$! $!
$! Building The $(SIMH_NONET_LIB) Library. $! Building The $(SIMH_NONET_LIB) Library.
$! $!
$ $(CC)/DEF=($(CC_DEFS) - $ $(CC)/DEF=($(CC_DEFS)) -
/OBJ=$(BLD_DIR) $(MMS$CHANGED_LIST) /OBJ=$(BLD_DIR) $(MMS$CHANGED_LIST)
$ IF (F$SEARCH("$(MMS$TARGET)").EQS."") THEN - $ IF (F$SEARCH("$(MMS$TARGET)").EQS."") THEN -
LIBRARY/CREATE $(MMS$TARGET) LIBRARY/CREATE $(MMS$TARGET)
@ -1810,7 +1810,7 @@ $(BIN_DIR)SWTP6800MP-A-$(ARCH).EXE : $(SIMH_MAIN) $(SIMH_NONET_LIB) $(SWTP6800MP
$! $!
$! Building The $(BIN_DIR)SWTP6800MP-A-$(ARCH).EXE Simulator. $! Building The $(BIN_DIR)SWTP6800MP-A-$(ARCH).EXE Simulator.
$! $!
$ $(CC)$(SWTP_OPTIONS)/OBJ=$(BLD_DIR) SCP.C $ $(CC)$(SWTP6800MP_A_OPTIONS)/OBJ=$(BLD_DIR) SCP.C
$ LINK $(LINK_DEBUG)/EXE=$(BIN_DIR)SWTP6800MP-A-$(ARCH).EXE - $ LINK $(LINK_DEBUG)/EXE=$(BIN_DIR)SWTP6800MP-A-$(ARCH).EXE -
$(BLD_DIR)SCP.OBJ,$(SWTP6800MP_A_LIB)/LIBRARY,$(SIMH_NONET_LIB)/LIBRARY $(BLD_DIR)SCP.OBJ,$(SWTP6800MP_A_LIB)/LIBRARY,$(SIMH_NONET_LIB)/LIBRARY
$ DELETE/NOLOG/NOCONFIRM $(BLD_DIR)*.OBJ;* $ DELETE/NOLOG/NOCONFIRM $(BLD_DIR)*.OBJ;*
@ -1822,7 +1822,7 @@ $(BIN_DIR)SWTP6800MP-A2-$(ARCH).EXE : $(SIMH_MAIN) $(SIMH_NONET_LIB) $(SWTP6800M
$! $!
$! Building The $(BIN_DIR)SWTP6800MP-A2-$(ARCH).EXE Simulator. $! Building The $(BIN_DIR)SWTP6800MP-A2-$(ARCH).EXE Simulator.
$! $!
$ $(CC)$(SWTP_OPTIONS)/OBJ=$(BLD_DIR) SCP.C $ $(CC)$(SWTP6800MP_A2_OPTIONS)/OBJ=$(BLD_DIR) SCP.C
$ LINK $(LINK_DEBUG)/EXE=$(BIN_DIR)SWTP6800MP-A2-$(ARCH).EXE - $ LINK $(LINK_DEBUG)/EXE=$(BIN_DIR)SWTP6800MP-A2-$(ARCH).EXE -
$(BLD_DIR)SCP.OBJ,$(SWTP6800MP_A2_LIB)/LIBRARY,$(SIMH_NONET_LIB)/LIBRARY $(BLD_DIR)SCP.OBJ,$(SWTP6800MP_A2_LIB)/LIBRARY,$(SIMH_NONET_LIB)/LIBRARY
$ DELETE/NOLOG/NOCONFIRM $(BLD_DIR)*.OBJ;* $ DELETE/NOLOG/NOCONFIRM $(BLD_DIR)*.OBJ;*

View file

@ -299,7 +299,7 @@ int32 oplen[256] = {
3,3,3,0,3,3,3,3,3,3,3,3,0,0,3,3 3,3,3,0,3,3,3,3,3,3,3,3,0,0,3,3
}; };
int32 sim_instr (void) t_stat sim_instr (void)
{ {
int32 IR, OP, DAR, reason, hi, lo, op1; int32 IR, OP, DAR, reason, hi, lo, op1;

View file

@ -76,7 +76,7 @@ address is here, 'nulldev' means no device is available
*/ */
struct idev { struct idev {
int32 (*routine)(); int32 (*routine)(int32, int32);
}; };
struct idev dev_table[32] = { struct idev dev_table[32] = {

View file

@ -145,7 +145,7 @@ DEVICE ptp_dev = {
/* console input service routine */ /* console input service routine */
int32 sio_svc (UNIT *uptr) t_stat sio_svc (UNIT *uptr)
{ {
int32 temp; int32 temp;
@ -161,7 +161,7 @@ int32 sio_svc (UNIT *uptr)
/* paper tape reader input service routine */ /* paper tape reader input service routine */
int32 ptr_svc (UNIT *uptr) t_stat ptr_svc (UNIT *uptr)
{ {
int32 temp; int32 temp;
@ -177,14 +177,14 @@ int32 ptr_svc (UNIT *uptr)
/* paper tape punch output service routine */ /* paper tape punch output service routine */
int32 ptp_svc (UNIT *uptr) t_stat ptp_svc (UNIT *uptr)
{ {
return SCPE_OK; return SCPE_OK;
} }
/* Reset console */ /* Reset console */
int32 sio_reset (DEVICE *dptr) t_stat sio_reset (DEVICE *dptr)
{ {
sio_unit.buf = 0; // Data buffer sio_unit.buf = 0; // Data buffer
sio_unit.u3 = 0x02; // Status buffer sio_unit.u3 = 0x02; // Status buffer
@ -195,7 +195,7 @@ int32 sio_reset (DEVICE *dptr)
/* Reset paper tape reader */ /* Reset paper tape reader */
int32 ptr_reset (DEVICE *dptr) t_stat ptr_reset (DEVICE *dptr)
{ {
ptr_unit.buf = 0; ptr_unit.buf = 0;
ptr_unit.u3 = 0x02; ptr_unit.u3 = 0x02;
@ -206,7 +206,7 @@ int32 ptr_reset (DEVICE *dptr)
/* Reset paper tape punch */ /* Reset paper tape punch */
int32 ptp_reset (DEVICE *dptr) t_stat ptp_reset (DEVICE *dptr)
{ {
ptp_unit.buf = 0; ptp_unit.buf = 0;
ptp_unit.u3 = 0x02; ptp_unit.u3 = 0x02;