summaryrefslogtreecommitdiffstats
path: root/Src/exec.c
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2025-10-24 22:27:50 +0200
committerOliver Kiddle <opk@zsh.org>2025-10-24 22:38:23 +0200
commitc9417b03745b81fc0a6add2e54af9e118e4a6ce1 (patch)
tree39fb5b2b941ae9c4d7d4c7b71f34ec6d6fd301d2 /Src/exec.c
parent53988: fix zparseopts segfault (diff)
downloadzsh-c9417b03745b81fc0a6add2e54af9e118e4a6ce1.tar
zsh-c9417b03745b81fc0a6add2e54af9e118e4a6ce1.tar.gz
zsh-c9417b03745b81fc0a6add2e54af9e118e4a6ce1.tar.bz2
zsh-c9417b03745b81fc0a6add2e54af9e118e4a6ce1.tar.lz
zsh-c9417b03745b81fc0a6add2e54af9e118e4a6ce1.tar.xz
zsh-c9417b03745b81fc0a6add2e54af9e118e4a6ce1.tar.zst
zsh-c9417b03745b81fc0a6add2e54af9e118e4a6ce1.zip
54001: add missing uses of mod_export
Diffstat (limited to 'Src/exec.c')
-rw-r--r--Src/exec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/exec.c b/Src/exec.c
index c1181c5eb..d39b6f3ac 100644
--- a/Src/exec.c
+++ b/Src/exec.c
@@ -5323,7 +5323,8 @@ static const char *const ANONYMOUS_FUNCTION_NAME = "(anon)";
* (though I doubt anyone would ever do that).
*/
/**/
-int is_anonymous_function_name(const char *name)
+mod_export int
+is_anonymous_function_name(const char *name)
{
return !strcmp(name, ANONYMOUS_FUNCTION_NAME);
}