From b38f3c9a17338b3e9ed37887a483b2e476f0fa4a Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 11 Aug 2003 10:45:08 +0000 Subject: 18938: Export some data symbols. --- ChangeLog | 7 +++++++ Src/Zle/compcore.c | 2 +- Src/Zle/zle_main.c | 4 ++-- Src/lex.c | 2 +- Src/math.c | 2 +- 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 + + * 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 * 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 */ -- cgit 1.4.1