1
0
mirror of https://github.com/simh/simh.git synced 2026-02-04 15:44:01 +00:00

I1401, I7094, ID16, ID32, NOVA, SDS, SIGMA: CONST compatibility with 3.10

This commit is contained in:
Mark Pizzolato
2018-03-09 15:55:22 -08:00
parent 645ea28d35
commit b7b1f427d0
12 changed files with 16 additions and 16 deletions

View File

@@ -2705,7 +2705,7 @@ return SCPE_OK;
t_stat cpu_show_addr (FILE *of, UNIT *uptr, int32 val, CONST void *desc)
{
t_stat r;
const char *cptr = (const char *) desc;
CONST char *cptr = (CONST char *) desc;
uint32 ad, bpa, dlnt, virt;
static const char *lnt_str[] = {
"byte",
@@ -2825,7 +2825,7 @@ t_stat cpu_show_hist (FILE *st, UNIT *uptr, int32 val, CONST void *desc)
{
int32 k, di, lnt;
t_stat r;
const char *cptr = (const char *) desc;
CONST char *cptr = (CONST char *) desc;
InstHistory *h;
if (hst_lnt == 0) /* enabled? */

View File

@@ -491,7 +491,7 @@ t_stat lp_read_cct (FILE *cfile)
{
uint32 col, rpt, ptr, mask;
uint8 cctbuf[CCT_LNT];
const char *cptr;
CONST char *cptr;
t_stat r;
char cbuf[CBUFSIZE], gbuf[CBUFSIZE];

View File

@@ -49,7 +49,7 @@ extern uint32 *M;
extern UNIT cpu_unit;
t_stat fprint_sym_m (FILE *of, uint32 inst);
t_stat parse_sym_m (const char *cptr, t_value *val);
t_stat parse_sym_m (CONST char *cptr, t_value *val);
void fprint_ebcdic (FILE *of, uint32 c);
extern t_stat lp_read_cct (FILE *cfile);
@@ -539,7 +539,7 @@ if (r != SCPE_OK)
return 0;
}
t_stat parse_sym_m (const char *cptr, t_value *val)
t_stat parse_sym_m (CONST char *cptr, t_value *val)
{
uint32 i, sgn;
t_stat r;