about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2003-08-11 10:45:08 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2003-08-11 10:45:08 +0000
commitb38f3c9a17338b3e9ed37887a483b2e476f0fa4a (patch)
treeefb2179e3b620fe1cb8b8e8739aa1093bd4e33d3
parent2f6bd52bcf61e467ae9a5d9b37fa2ea3a722d87d (diff)
downloadzsh-b38f3c9a17338b3e9ed37887a483b2e476f0fa4a.tar.gz
zsh-b38f3c9a17338b3e9ed37887a483b2e476f0fa4a.tar.xz
zsh-b38f3c9a17338b3e9ed37887a483b2e476f0fa4a.zip
18938: Export some data symbols.
-rw-r--r--ChangeLog7
-rw-r--r--Src/Zle/compcore.c2
-rw-r--r--Src/Zle/zle_main.c4
-rw-r--r--Src/lex.c2
-rw-r--r--Src/math.c2
5 files changed, 12 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 365ad8129..e713a0e88 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2003-08-11  Peter Stephenson  <pws@csr.com>
+
+	* 18938: Src/lex.c, Src/Math.c, Src/Zle/zle_main.c,
+	Src/Zle/compcore.c: Mark some data symbols for export, shutting
+	up Cygwin's dllwrap.  Note that c from zle_main.c is not marked
+	for export because no-one would ever export a symbol called c.
+
 2003-08-05  Oliver Kiddle  <opk@zsh.org>
 
 	* Completion/Unix/Command/_archie: archie servers no longer exist
diff --git a/Src/Zle/compcore.c b/Src/Zle/compcore.c
index 06229cfc7..5b26ff883 100644
--- a/Src/Zle/compcore.c
+++ b/Src/Zle/compcore.c
@@ -277,7 +277,7 @@ int fromcomp;
 /* This holds the end-position of the last string inserted into the line. */
 
 /**/
-int lastend;
+mod_export int lastend;
 
 #define inststr(X) inststrlen((X),1,-1)
 
diff --git a/Src/Zle/zle_main.c b/Src/Zle/zle_main.c
index 047aa3d12..1c8b590a8 100644
--- a/Src/Zle/zle_main.c
+++ b/Src/Zle/zle_main.c
@@ -107,9 +107,9 @@ mod_export Widget compwidget;
 /* the status line, and its length */
 
 /**/
-char *statusline;
+mod_export char *statusline;
 /**/
-int statusll;
+mod_export int statusll;
 
 /* The current history line and cursor position for the top line *
  * on the buffer stack.                                          */
diff --git a/Src/lex.c b/Src/lex.c
index 495d759d4..40e42e857 100644
--- a/Src/lex.c
+++ b/Src/lex.c
@@ -44,7 +44,7 @@ mod_export char *tokstr;
 /**/
 mod_export int tok;
 /**/
-int tokfd;
+mod_export int tokfd;
 
 /* lexical analyzer error flag */
  
diff --git a/Src/math.c b/Src/math.c
index dc75a8143..a719ffea5 100644
--- a/Src/math.c
+++ b/Src/math.c
@@ -40,7 +40,7 @@ int noeval;
 /* integer zero */
 
 /**/
-mnumber zero_mnumber;
+mod_export mnumber zero_mnumber;
 
 /* last input base we used */