From 7c05a5d22eb51626ff3ad90da91be86f0e9f52a7 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 18 Dec 2003 18:22:35 +0000 Subject: 19315: missing mod_export definitions --- ChangeLog | 3 +++ Src/Zle/compcore.c | 2 +- Src/Zle/zle_main.c | 6 +++--- Src/lex.c | 2 +- Src/math.c | 2 +- Src/params.c | 2 +- 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 + * 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; -- cgit 1.4.1