Merge pull request #83 from BillHeaton/master

PDP10/11: Fix build warnings on OS/X
This commit is contained in:
Mark Pizzolato 2013-10-02 05:45:50 -07:00
commit f76d46662f
2 changed files with 2 additions and 1 deletions

View file

@ -54,6 +54,7 @@
*/ */
#include "pdp10_defs.h" #include "pdp10_defs.h"
#include <ctype.h>
/* Time (seconds) of idleness before data flushed to attached file. */ /* Time (seconds) of idleness before data flushed to attached file. */
#ifndef LP20_IDLE_TIME #ifndef LP20_IDLE_TIME

View file

@ -360,7 +360,7 @@ else
maxvec = i+j; maxvec = i+j;
fprintf (st, " %*.*sVector%*.*s", i/2, i/2, " ", (i/2)+i%2, (i/2)+i%2, " "); fprintf (st, " %*.*sVector%*.*s", i/2, i/2, " ", (i/2)+i%2, (i/2)+i%2, " ");
fprintf (st, " BR %*.*s# Device\n", (maxdev -1), (maxdev-1)); fprintf (st, " BR %*.*s# Device\n", (maxdev -1), (maxdev-1), " ");
for (i = 0; i < maxaddr; i++) for (i = 0; i < maxaddr; i++)
fputc ('-', st); fputc ('-', st);
fprintf (st, " "); fprintf (st, " ");