about summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
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;