SCP: Fix declaration duplications and indentation issues

This commit is contained in:
Mark Pizzolato 2018-04-16 16:57:06 -07:00
parent adedce8556
commit 309598e2cd
2 changed files with 2 additions and 3 deletions

2
scp.h
View file

@ -305,8 +305,6 @@ void sim_debug_bits_hdr (uint32 dbits, DEVICE* dptr, const char *header,
BITFIELD* bitdefs, uint32 before, uint32 after, int terminate); BITFIELD* bitdefs, uint32 before, uint32 after, int terminate);
void sim_debug_bits (uint32 dbits, DEVICE* dptr, BITFIELD* bitdefs, void sim_debug_bits (uint32 dbits, DEVICE* dptr, BITFIELD* bitdefs,
uint32 before, uint32 after, int terminate); 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)) #if defined (__DECC) && defined (__VMS) && (defined (__VAX) || (__DECC_VER < 60590001))
#define CANT_USE_MACRO_VA_ARGS 1 #define CANT_USE_MACRO_VA_ARGS 1
#endif #endif

View file

@ -5216,11 +5216,12 @@ if ((dptr) && (dbits & dptr->dctrl)) {
else else
sim_debug (dbits, dptr, "%s %d bytes '%s'\n", msg, bufsize, tmxr_debug_buf); 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) if (lp->rxnexttime != 0.0)
sim_debug (dbits, dptr, " rxnexttime=%.0f", lp->rxnexttime); sim_debug (dbits, dptr, " rxnexttime=%.0f", lp->rxnexttime);
if (lp->txnexttime != 0.0) if (lp->txnexttime != 0.0)
sim_debug (dbits, dptr, " txnexttime=%.0f", lp->txnexttime); sim_debug (dbits, dptr, " txnexttime=%.0f", lp->txnexttime);
sim_debug (dbits, dptr, "\n"); sim_debug (dbits, dptr, "\n");
}
} }
} }