about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2003-12-18 18:22:35 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2003-12-18 18:22:35 +0000
commit7c05a5d22eb51626ff3ad90da91be86f0e9f52a7 (patch)
treebb100c6e3f86a16605a5b55564f3c7cf98b2aaf5
parent4ad8d51ab9a5f30766707768c3e709710d58e4c2 (diff)
downloadzsh-7c05a5d22eb51626ff3ad90da91be86f0e9f52a7.tar.gz
zsh-7c05a5d22eb51626ff3ad90da91be86f0e9f52a7.tar.xz
zsh-7c05a5d22eb51626ff3ad90da91be86f0e9f52a7.zip
19315: missing mod_export definitions
-rw-r--r--ChangeLog3
-rw-r--r--Src/Zle/compcore.c2
-rw-r--r--Src/Zle/zle_main.c6
-rw-r--r--Src/lex.c2
-rw-r--r--Src/math.c2
-rw-r--r--Src/params.c2
6 files changed, 10 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 328bf48fd..890209e0a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2003-12-18  Peter Stephenson  <pws@csr.com>
 
+	* 19315: Src/lex.c, Src/math.c, Src/params.c, Src/Zle/compcore.c,
+	Src/Zle/zle_main.c: missing mod_export definitions.
+
 	* unposted: Config/version.mk, Completion/Unix/Command/.distfiles:
 	zsh-4.0.8.
 
diff --git a/Src/Zle/compcore.c b/Src/Zle/compcore.c
index 03e5eafc7..10538fade 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 b7c7767b7..c3961d0fa 100644
--- a/Src/Zle/zle_main.c
+++ b/Src/Zle/zle_main.c
@@ -64,7 +64,7 @@ int mark;
 /* last character pressed */
 
 /**/
-int c;
+mod_export int c;		/* YUK! */
 
 /* the bindings for the previous and for this key */
 
@@ -99,9 +99,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 88496c38c..ae7935a05 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 2bf65d117..bc5b3ac5e 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 */
 
diff --git a/Src/params.c b/Src/params.c
index e2a9f61f7..dc6519e45 100644
--- a/Src/params.c
+++ b/Src/params.c
@@ -763,7 +763,7 @@ copyparam(Param tpm, Param pm, int toplevel)
 /* Return 1 if the string s is a valid identifier, else return 0. */
 
 /**/
-int
+mod_export int
 isident(char *s)
 {
     char *ss;