From acbbc30e03eeafa2a25a13fdd99ae3637e368847 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 9 Sep 2005 16:07:50 +0000 Subject: 21719: add some mod_exports --- ChangeLog | 4 ++++ Src/builtin.c | 2 +- Src/params.c | 2 +- 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 + + * d'après 21719: Src/builtin.c, Src/params.c: Add somemod_exports. + 2005-09-06 Peter Stephenson * 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); -- cgit 1.4.1