1
0
mirror of https://github.com/PDP-10/its.git synced 2026-01-13 23:36:30 +00:00

Make the C library file C10SDF compile.

R needs the setfdir() function.
This commit is contained in:
Lars Brinkhoff 2021-08-27 13:04:16 +02:00
parent c14fc2ccd7
commit 102fe484f8
3 changed files with 5 additions and 1 deletions

View File

@ -1339,6 +1339,8 @@ respond "*" ":cc c10fnm.c\r"
respond "*" ":cc c10io.c\r"
respond "*" ":cc c10map.c\r"
respond "*" ":cc c10pag.c\r"
# C10SFD is obsolete, but used by R.
respond "*" ":cc c10sfd.c\r"
respond "*" ":cc c10tty.c\r"
respond "*" ":cc ac.c\r"
respond "*" ":cc apfnam.c\r"

View File

@ -5,6 +5,8 @@
**********************************************************************/
#include "clib.h"
char *setfdir (buf, name, dir)
char *buf, *name, *dir;

View File

@ -9,7 +9,7 @@ typedef struct { /* ITS filespec in sixbit */
fn1, /* First filename */
fn2, /* Second filename */
dir; /* Directory */
} FILESPEC;
} filespec;
#define TRUE 1
#define FALSE 0