mirror of
https://github.com/simh/simh.git
synced 2026-04-29 21:16:46 +00:00
SCP: Fix declaration duplications and indentation issues
This commit is contained in:
2
scp.h
2
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);
|
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
|
||||||
|
|||||||
@@ -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");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user