diff options
author | Jakob Kaivo <jkk@ung.org> | 2022-03-04 12:34:32 -0500 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2022-03-04 12:34:32 -0500 |
commit | 221921aec474e17fe91d6ec32bf53761a70857b4 (patch) | |
tree | ea66f5e1a09905550d636c544e022c313cb18965 /data.h | |
parent | 55f277e77428d7423ae906a8e1f1324d35b07a7d (diff) |
fix linker errors
Diffstat (limited to 'data.h')
-rw-r--r-- | data.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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]]]) |