1
0
mirror of https://github.com/simh/simh.git synced 2026-01-26 04:01:38 +00:00

PDP10, PDP11, VAX: const cleanup

This commit is contained in:
Mark Pizzolato
2015-02-13 06:18:24 -08:00
parent 68efe4d36a
commit ef9d1adce1
77 changed files with 479 additions and 499 deletions

View File

@@ -779,7 +779,7 @@ t_stat show_addr (FILE *st, UNIT *uptr, int32 val, void *desc);
t_stat set_vec (UNIT *uptr, int32 val, char *cptr, void *desc);
t_stat show_vec (FILE *st, UNIT *uptr, int32 val, void *desc);
t_stat show_vec_mux (FILE *st, UNIT *uptr, int32 val, void *desc);
t_stat auto_config (char *name, int32 num);
t_stat auto_config (const char *name, int32 num);
#endif

View File

@@ -2212,7 +2212,7 @@ AUTO_CON auto_tab[] = {/*c #v am vm fxa fxv */
#define DEV_NEXUS 0
#endif
#endif
t_stat auto_config (char *name, int32 nctrl)
t_stat auto_config (const char *name, int32 nctrl)
{
uint32 csr = IOPAGEBASE + AUTO_CSRBASE;
uint32 vec = VEC_Q + AUTO_VECBASE;

View File

@@ -218,8 +218,8 @@ static void update_lpcs (int32 flg);
static void change_rdy (int32 setrdy, int32 clrrdy);
static int16 evenbits (int16 value);
static t_stat lp20_help (FILE *st, struct sim_device *dptr,
struct sim_unit *uptr, int32 flag, char *cptr);
static char *lp20_description (DEVICE *dptr);
struct sim_unit *uptr, int32 flag, const char *cptr);
static const char *lp20_description (DEVICE *dptr);
/* DEC standard VFU tape for 'optical' VFU default.
* Note that this must be <= DV_SIZE as we copy it into the DAVFU.
@@ -1279,7 +1279,7 @@ return SCPE_OK;
}
static t_stat lp20_help (FILE *st, struct sim_device *dptr,
struct sim_unit *uptr, int32 flag, char *cptr)
struct sim_unit *uptr, int32 flag, const char *cptr)
{
fprintf (st,
"The LP20 DMA line printer controller is a UNIBUS device developed by the 36-bit product line.\n"
@@ -1320,7 +1320,7 @@ fprintf (st,
return SCPE_OK;
}
static char *lp20_description (DEVICE *dptr)
static const char *lp20_description (DEVICE *dptr)
{
return "DMA Line Printer controller";
}