Browse Source

moved and initialized the C_tmpdir variable; some linkers do not
find it otherwise

ceriel 35 years ago
parent
commit
c4d23274c9
2 changed files with 1 additions and 1 deletions
  1. 0 1
      util/ceg/defaults/C_out_skel.c
  2. 1 0
      util/ceg/defaults/pseudo_vars.c

+ 0 - 1
util/ceg/defaults/C_out_skel.c

@@ -25,7 +25,6 @@
 extern char em_flag[];	/* One per EM instruction: indicates parameter kind */
 extern short em_ptyp[];	/* One per parameter kind: indicates parameter type */
 static char *C_error;
-char *C_tmpdir;
 
 EXPORT int
 C_out(p)

+ 1 - 0
util/ceg/defaults/pseudo_vars.c

@@ -1,2 +1,3 @@
 int	B_locals_created = 0, B_busy = 0;
 int	B_holno = 0, B_procno = 0;
+char	*C_tmpdir = 0;