about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
Diffstat (limited to 'Src')
-rw-r--r--Src/builtin.c2
-rw-r--r--Src/init.c2
-rw-r--r--Src/params.c5
3 files changed, 5 insertions, 4 deletions
diff --git a/Src/builtin.c b/Src/builtin.c
index f9ba4af3e..4bb62aa9c 100644
--- a/Src/builtin.c
+++ b/Src/builtin.c
@@ -4066,7 +4066,7 @@ bin_getopts(UNUSED(char *name), char **argv, UNUSED(Options ops), UNUSED(int fun
 
 /* Flag that we should exit the shell as soon as all functions return. */
 /**/
-int
+mod_export int
 exit_pending;
 
 /* break, bye, continue, exit, logout, return -- most of these take   *
diff --git a/Src/init.c b/Src/init.c
index 6d78e5a1a..de6d4efcb 100644
--- a/Src/init.c
+++ b/Src/init.c
@@ -1020,7 +1020,7 @@ init_misc(void)
 /* source a file */
 
 /**/
-int
+mod_export int
 source(char *s)
 {
     Eprog prog;
diff --git a/Src/params.c b/Src/params.c
index 1cff358df..89d25afee 100644
--- a/Src/params.c
+++ b/Src/params.c
@@ -54,6 +54,7 @@ char **path,		/* $path        */
      **fignore;		/* $fignore     */
  
 /**/
+mod_export
 char *argzero,		/* $0           */
      *home,		/* $HOME        */
      *nullcmd,		/* $NULLCMD     */
@@ -2621,14 +2622,14 @@ arrhashsetfn(Param pm, char **val, int augment)
  */
 
 /**/
-void
+mod_export void
 nullstrsetfn(UNUSED(Param pm), char *x)
 {
     zsfree(x);
 }
 
 /**/
-void
+mod_export void
 nullintsetfn(UNUSED(Param pm), UNUSED(zlong x))
 {}