1
0
mirror of https://github.com/simh/simh.git synced 2026-02-03 23:23:55 +00:00

Compiler cleanup after v3.9-0 merge

This commit is contained in:
Mark Pizzolato
2012-03-19 16:07:36 -07:00
parent fffad7c20e
commit fabdf73bed
30 changed files with 49 additions and 39 deletions

View File

@@ -43,7 +43,7 @@
extern uint8 M[MAXMEMSIZE];
extern uint8 ind[NUM_IND];
extern UNIT cpu_unit;
extern int32 io_stop;
extern uint32 io_stop;
char cdr_buf[CD_LEN + 2];
char cdp_buf[CD_LEN + 2];
@@ -332,8 +332,8 @@ return SCPE_OK;
t_stat cdr_boot (int32 unitno, DEVICE *dptr)
{
t_stat r;
int32 old_io_stop;
extern int32 saved_PC;
uint32 old_io_stop;
extern uint32 saved_PC;
old_io_stop = io_stop;
io_stop = 1;

View File

@@ -363,7 +363,7 @@ const static uint8 boot_rom[] = {
t_stat ptr_boot (int32 unitno, DEVICE *dptr)
{
int32 i;
extern int32 saved_PC;
extern uint32 saved_PC;
for (i = 0; i < BOOT_LEN; i++)
M[BOOT_START + i] = boot_rom[i];

View File

@@ -124,7 +124,8 @@ t_stat sim_load (FILE *fileref, char *cptr, char *fnam, int flag)
{
int32 col, rpt, ptr, mask, cctbuf[CCT_LNT];
t_stat r;
extern int32 cct_lnt, cct_ptr, cct[CCT_LNT];
extern int32 cct_lnt, cct_ptr;
extern uint32 cct[CCT_LNT];
char cbuf[CBUFSIZE], gbuf[CBUFSIZE];
if ((*cptr != 0) || (flag != 0))