From 66a1f31dbd3047995dc700175c18974d6764ad60 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Sat, 10 Mar 2018 00:18:27 -0800 Subject: [PATCH] PDP10, PDP4, PDP7, PDP9, PDP15: CONST compatibility with 3.10 --- PDP10/pdp10_cpu.c | 2 +- PDP18B/pdp18b_cpu.c | 2 +- PDP18B/pdp18b_sys.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PDP10/pdp10_cpu.c b/PDP10/pdp10_cpu.c index 3054ab38..9262f11b 100644 --- a/PDP10/pdp10_cpu.c +++ b/PDP10/pdp10_cpu.c @@ -2527,7 +2527,7 @@ return SCPE_OK; t_stat cpu_show_hist (FILE *st, UNIT *uptr, int32 val, CONST void *desc) { int32 k, di, lnt; -const char *cptr = (const char *) desc; +CONST char *cptr = (CONST char *) desc; t_stat r; InstHistory *h; diff --git a/PDP18B/pdp18b_cpu.c b/PDP18B/pdp18b_cpu.c index d375cc4b..43681ad1 100644 --- a/PDP18B/pdp18b_cpu.c +++ b/PDP18B/pdp18b_cpu.c @@ -2340,7 +2340,7 @@ t_stat cpu_show_hist (FILE *st, UNIT *uptr, int32 val, CONST void *desc) { int32 l, j, k, di, lnt; -const char *cptr = (const char *) desc; +CONST char *cptr = (CONST char *) desc; t_value sim_eval[2]; t_stat r; InstHistory *h; diff --git a/PDP18B/pdp18b_sys.c b/PDP18B/pdp18b_sys.c index c44e5d18..535681b5 100644 --- a/PDP18B/pdp18b_sys.c +++ b/PDP18B/pdp18b_sys.c @@ -268,7 +268,7 @@ return SCPE_OK; /* done */ word to execute (bit 1 of last character set) */ -t_stat hri_load_7915 (FILE *fileref, const char *cptr) +t_stat hri_load_7915 (FILE *fileref, CONST char *cptr) { int32 bits, origin, val; char gbuf[CBUFSIZE];