From 61c1af846fd6ce2f98806c701cf8dfe1146211b6 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Mon, 14 Mar 2022 15:28:39 -0700 Subject: [PATCH] TAPE: export sim_tape_error_text --- sim_tape.c | 2 +- sim_tape.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sim_tape.c b/sim_tape.c index 57cc71f5..c05a4226 100644 --- a/sim_tape.c +++ b/sim_tape.c @@ -86,6 +86,7 @@ sim_tape_show_capac show tape capacity sim_tape_set_dens set tape density sim_tape_show_dens show tape density + sim_tape_error_text the textual description of a tape status sim_tape_set_async enable asynchronous operation sim_tape_clr_async disable asynchronous operation aim_tape_test unit test routine @@ -3442,7 +3443,6 @@ free (recbuf); return objc; } -static const char *sim_tape_error_text (t_stat stat) { const char *mtse_errors[] = { diff --git a/sim_tape.h b/sim_tape.h index aae5bf3c..55d79f42 100644 --- a/sim_tape.h +++ b/sim_tape.h @@ -231,6 +231,7 @@ t_stat sim_tape_show_capac (FILE *st, UNIT *uptr, int32 val, CONST void *desc); t_stat sim_tape_set_dens (UNIT *uptr, int32 val, CONST char *cptr, void *desc); t_stat sim_tape_show_dens (FILE *st, UNIT *uptr, int32 val, CONST void *desc); t_stat sim_tape_density_supported (char *string, size_t string_size, int32 valid_bits); +const char *sim_tape_error_text (t_stat stat); t_stat sim_tape_set_asynch (UNIT *uptr, int latency); t_stat sim_tape_clr_asynch (UNIT *uptr); t_stat sim_tape_test (DEVICE *dptr, const char *cptr);