about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Src/builtin.c2
-rw-r--r--Src/params.c2
3 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 6f7b6d7bd..8df9a7b59 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-09-09  Peter Stephenson  <pws@csr.com>
+
+	* d'après 21719: Src/builtin.c, Src/params.c: Add somemod_exports.
+
 2005-09-06  Peter Stephenson  <pws@csr.com>
 
 	* 21701: Src/params.c, Test/D06subscript.ztst: negative offsets
diff --git a/Src/builtin.c b/Src/builtin.c
index 44e8d414f..0d729aab0 100644
--- a/Src/builtin.c
+++ b/Src/builtin.c
@@ -4041,7 +4041,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/params.c b/Src/params.c
index 943bb70f0..be26f341b 100644
--- a/Src/params.c
+++ b/Src/params.c
@@ -2608,7 +2608,7 @@ arrhashsetfn(Param pm, char **val, int augment)
  */
 
 /**/
-void
+mod_export void
 nullstrsetfn(UNUSED(Param pm), char *x)
 {
     zsfree(x);