summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2000-04-30 17:58:35 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2000-04-30 17:58:35 +0000
commitddd8614e5149a5aabde1acef1609084003adbc80 (patch)
treecaec96cf9ce80ba08adb3402b819c8d12faf164f /Src/Zle
parent3e43e5099282927fad9844f106b1cd8a361be03c (diff)
downloadzsh-ddd8614e5149a5aabde1acef1609084003adbc80.tar.gz
zsh-ddd8614e5149a5aabde1acef1609084003adbc80.tar.xz
zsh-ddd8614e5149a5aabde1acef1609084003adbc80.zip
AIX dependency fixes
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/compcore.c5
-rw-r--r--Src/Zle/compresult.c4
2 files changed, 4 insertions, 5 deletions
diff --git a/Src/Zle/compcore.c b/Src/Zle/compcore.c
index 0ecd7da79..8e713348f 100644
--- a/Src/Zle/compcore.c
+++ b/Src/Zle/compcore.c
@@ -42,13 +42,12 @@ int useexact, useline, uselist, forcelist, startauto;
 /* Non-zero if we should go back to the last prompt. */
 
 /**/
-int dolastprompt;
+mod_export int dolastprompt;
 
 /* Non-zero if we should keep an old list. */
 
 /**/
-mod_export
-int oldlist, oldins;
+mod_export int oldlist, oldins;
 
 /* This is used to decide when the cursor should be moved to the end of    *
  * the inserted word: 0 - never, 1 - only when a single match is inserted, *
diff --git a/Src/Zle/compresult.c b/Src/Zle/compresult.c
index c804fdcf2..1e6140687 100644
--- a/Src/Zle/compresult.c
+++ b/Src/Zle/compresult.c
@@ -540,7 +540,7 @@ instmatch(Cmatch m, int *scs)
  * braces. */
 
 /**/
-int
+mod_export int
 hasbrpsfx(Cmatch m, char *pre, char *suf)
 {
     char *op = lastprebr, *os = lastpostbr;
@@ -1148,7 +1148,7 @@ comp_list(char *v)
 /* This skips over matches that are not to be listed. */
 
 /**/
-Cmatch *
+mod_export Cmatch *
 skipnolist(Cmatch *p, int showall)
 {
     int mask = (showall ? 0 : (CMF_NOLIST | CMF_MULT)) | CMF_HIDE;