From 221921aec474e17fe91d6ec32bf53761a70857b4 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Fri, 4 Mar 2022 12:34:32 -0500 Subject: fix linker errors --- data.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'data.h') diff --git a/data.h b/data.h index 6975f37..2130896 100644 --- a/data.h +++ b/data.h @@ -128,8 +128,8 @@ see also reset_pns(), make_pn(), sto_pn() in lex.c */ /* works for both pnames and ids */ extern int compiling,polyshowerror; -word *hd,*tl; -char *tag; +extern word *hd,*tl; +extern char *tag; char *getstring(); double get_dbl(word); void dieclean(void); @@ -161,14 +161,14 @@ extern word idsused; /* limit on length of shell commands (for /e, !, System) */ #define pnlim 1024 /* limit on length of pathnames */ -word files; /* a cons list of elements, each of which is of the form +extern word files; /* a cons list of elements, each of which is of the form cons(cons(fileinfo(filename,mtime),share),definienda) where share (=0,1) says if repeated instances are shareable. Current script at the front followed by subsidiary files due to %insert and %include -- elements due to %insert have NIL definienda (they are attributed to the inserting script) */ -word current_file; /*pointer to current element of `files' during compilation*/ +extern word current_file; /*pointer to current element of `files' during compilation*/ #define make_fil(name,time,share,defs) cons(cons(fileinfo(name,time),\ cons(share,NIL)),defs) #define get_fil(fil) ((char *)hd[hd[hd[fil]]]) -- cgit v1.2.1