Fix build warning on OS/X

PDP11/pdp11_io_lib.c: In function 'show_iospace':
PDP11/pdp11_io_lib.c:363: warning: too few arguments for format

PDP10/pdp10_lp20.c: In function 'lp20_set_vfu_type':
PDP10/pdp10_lp20.c:1038: warning: implicit declaration of function
'toupper'
PDP10/pdp10_lp20.c:1121: warning: implicit declaration of function
'isspace'
This commit is contained in:
Bill Heaton 2013-09-30 12:10:11 -07:00
parent 351d748b4a
commit 99b4730dc0
2 changed files with 2 additions and 1 deletions

View file

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

View file

@ -360,7 +360,7 @@ else
maxvec = i+j;
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++)
fputc ('-', st);
fprintf (st, " ");