From 309598e2cdf810c3646eaf196c5a289c5fe198ff Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Mon, 16 Apr 2018 16:57:06 -0700 Subject: [PATCH] SCP: Fix declaration duplications and indentation issues --- scp.h | 2 -- sim_tmxr.c | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/scp.h b/scp.h index 35bb97d2..c6b39b61 100644 --- a/scp.h +++ b/scp.h @@ -305,8 +305,6 @@ void sim_debug_bits_hdr (uint32 dbits, DEVICE* dptr, const char *header, BITFIELD* bitdefs, uint32 before, uint32 after, int terminate); void sim_debug_bits (uint32 dbits, DEVICE* dptr, BITFIELD* bitdefs, uint32 before, uint32 after, int terminate); -void _sim_debug_unit (uint32 dbits, UNIT *uptr, const char* fmt, ...) GCC_FMT_ATTR(3, 4); -void _sim_debug_device (uint32 dbits, DEVICE* dptr, const char* fmt, ...) GCC_FMT_ATTR(3, 4); #if defined (__DECC) && defined (__VMS) && (defined (__VAX) || (__DECC_VER < 60590001)) #define CANT_USE_MACRO_VA_ARGS 1 #endif diff --git a/sim_tmxr.c b/sim_tmxr.c index a3a6b49e..958ac790 100644 --- a/sim_tmxr.c +++ b/sim_tmxr.c @@ -5216,11 +5216,12 @@ if ((dptr) && (dbits & dptr->dctrl)) { else sim_debug (dbits, dptr, "%s %d bytes '%s'\n", msg, bufsize, tmxr_debug_buf); } - if ((lp->rxnexttime != 0.0) || (lp->txnexttime != 0.0)) + if ((lp->rxnexttime != 0.0) || (lp->txnexttime != 0.0)) { if (lp->rxnexttime != 0.0) sim_debug (dbits, dptr, " rxnexttime=%.0f", lp->rxnexttime); if (lp->txnexttime != 0.0) sim_debug (dbits, dptr, " txnexttime=%.0f", lp->txnexttime); sim_debug (dbits, dptr, "\n"); + } } }