summaryrefslogtreecommitdiff
path: root/data.h
diff options
context:
space:
mode:
Diffstat (limited to 'data.h')
-rw-r--r--data.h8
1 files changed, 4 insertions, 4 deletions
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]]])