From 77ff9e44f0378cb8ce22d428c17481199f385fb3 Mon Sep 17 00:00:00 2001 From: Lars Brinkhoff Date: Fri, 7 Sep 2018 08:06:17 -0700 Subject: [PATCH] PDP11: Fix building pdp11_vt.c when USE_DISPLAY is undefined. --- PDP11/pdp11_vt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PDP11/pdp11_vt.c b/PDP11/pdp11_vt.c index 4f09a6e2..9211fda5 100644 --- a/PDP11/pdp11_vt.c +++ b/PDP11/pdp11_vt.c @@ -946,9 +946,6 @@ cpu_get_switches(unsigned long *p1, unsigned long *p2) *p1 = SR; *p2 = 0; } -#else /* USE_DISPLAY not defined */ -char pdp11_vt_unused; /* sometimes empty object modules cause problems */ -#endif /* USE_DISPLAY not defined */ t_stat vt_help (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, const char *cptr) { @@ -1124,3 +1121,6 @@ const char helpString[] = ; return scp_help (st, dptr, uptr, flag, helpString, cptr); } +#else /* USE_DISPLAY not defined */ +char pdp11_vt_unused; /* sometimes empty object modules cause problems */ +#endif /* USE_DISPLAY not defined */