mirror of
https://github.com/simh/simh.git
synced 2026-01-13 15:27:14 +00:00
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:
parent
351d748b4a
commit
99b4730dc0
@ -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
|
||||
|
||||
@ -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, " ");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user