1
0
mirror of https://github.com/simh/simh.git synced 2026-01-25 11:46:37 +00:00

SCP: Migrate all stdio writes to pass through SCP provided Fprintf()

This commit is contained in:
Mark Pizzolato
2017-01-14 20:48:09 -08:00
parent 861d9c8d9c
commit d8dbc7e6b5
31 changed files with 6 additions and 146 deletions

View File

@@ -278,11 +278,6 @@ static const uint32 opc_val[] = {
if < 0, number of extra bytes retired
*/
/* Use scp.c provided fprintf function */
#define fprintf Fprintf
#define fputs(_s,f) Fprintf(f,"%s",_s)
#define fputc(_c,f) Fprintf(f,"%c",_c)
t_stat fprint_sym (FILE *of, t_addr addr, t_value *val,
UNIT *uptr, int32 sw)
{

View File

@@ -300,11 +300,6 @@ static const uint32 opc_val[] = {
/* Print an RX specifier */
/* Use scp.c provided fprintf function */
#define fprintf Fprintf
#define fputs(_s,f) Fprintf(f,"%s",_s)
#define fputc(_c,f) Fprintf(f,"%c",_c)
t_stat fprint_addr (FILE *of, t_addr addr, uint32 rx, uint32 ea1,
uint32 ea2)
{