mirror of
https://github.com/simh/simh.git
synced 2026-04-29 21:16:46 +00:00
More compiler identified cleanups
This commit is contained in:
@@ -299,7 +299,7 @@ int32 oplen[256] = {
|
||||
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;
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ address is here, 'nulldev' means no device is available
|
||||
*/
|
||||
|
||||
struct idev {
|
||||
int32 (*routine)();
|
||||
int32 (*routine)(int32, int32);
|
||||
};
|
||||
|
||||
struct idev dev_table[32] = {
|
||||
|
||||
@@ -145,7 +145,7 @@ DEVICE ptp_dev = {
|
||||
|
||||
/* console input service routine */
|
||||
|
||||
int32 sio_svc (UNIT *uptr)
|
||||
t_stat sio_svc (UNIT *uptr)
|
||||
{
|
||||
int32 temp;
|
||||
|
||||
@@ -161,7 +161,7 @@ int32 sio_svc (UNIT *uptr)
|
||||
|
||||
/* paper tape reader input service routine */
|
||||
|
||||
int32 ptr_svc (UNIT *uptr)
|
||||
t_stat ptr_svc (UNIT *uptr)
|
||||
{
|
||||
int32 temp;
|
||||
|
||||
@@ -177,14 +177,14 @@ int32 ptr_svc (UNIT *uptr)
|
||||
|
||||
/* paper tape punch output service routine */
|
||||
|
||||
int32 ptp_svc (UNIT *uptr)
|
||||
t_stat ptp_svc (UNIT *uptr)
|
||||
{
|
||||
return SCPE_OK;
|
||||
}
|
||||
|
||||
/* Reset console */
|
||||
|
||||
int32 sio_reset (DEVICE *dptr)
|
||||
t_stat sio_reset (DEVICE *dptr)
|
||||
{
|
||||
sio_unit.buf = 0; // Data buffer
|
||||
sio_unit.u3 = 0x02; // Status buffer
|
||||
@@ -195,7 +195,7 @@ int32 sio_reset (DEVICE *dptr)
|
||||
|
||||
/* Reset paper tape reader */
|
||||
|
||||
int32 ptr_reset (DEVICE *dptr)
|
||||
t_stat ptr_reset (DEVICE *dptr)
|
||||
{
|
||||
ptr_unit.buf = 0;
|
||||
ptr_unit.u3 = 0x02;
|
||||
@@ -206,7 +206,7 @@ int32 ptr_reset (DEVICE *dptr)
|
||||
|
||||
/* Reset paper tape punch */
|
||||
|
||||
int32 ptp_reset (DEVICE *dptr)
|
||||
t_stat ptp_reset (DEVICE *dptr)
|
||||
{
|
||||
ptp_unit.buf = 0;
|
||||
ptp_unit.u3 = 0x02;
|
||||
|
||||
Reference in New Issue
Block a user