From 66ec74ac7ac79680a55d6aa6a348970c93d2bffc Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 6 Jan 2000 16:19:25 +0000 Subject: zsh-workers/9253 --- Src/linklist.c | 2 +- Src/mkmakemod.sh | 4 +++- Src/params.c | 2 +- Src/utils.c | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Src/linklist.c b/Src/linklist.c index 9c8ed44be..9e70d1372 100644 --- a/Src/linklist.c +++ b/Src/linklist.c @@ -84,7 +84,7 @@ uinsertlinknode(LinkList list, LinkNode node, LinkNode new) /* Insert a list in another list */ /**/ -void +mod_export void insertlinklist(LinkList l, LinkNode where, LinkList x) { LinkNode nx; diff --git a/Src/mkmakemod.sh b/Src/mkmakemod.sh index 96dc877fe..80a78f7af 100644 --- a/Src/mkmakemod.sh +++ b/Src/mkmakemod.sh @@ -188,6 +188,7 @@ if $first_stage; then dobjects=`echo $objects '' | sed 's,\.o ,..o ,g'` modhdeps= exportdeps= + imports= q_moddeps= for dep in $moddeps; do q_dep=`echo $dep | sed 's,Q,Qq,g;s,_,Qu,g;s,/,Qs,g'` @@ -226,6 +227,7 @@ if $first_stage; then esac modhdeps="$modhdeps $mdh" exportdeps="$exportdeps $export" + imports="$imports \$(IMPOPT)$export" done echo "##### ===== DEPENDENCIES GENERATED FROM ${mddname}.mdd ===== #####" @@ -235,7 +237,7 @@ if $first_stage; then echo "SYMS_${mddname} = $proto" echo "EPRO_${mddname} = "`echo $proto '' | sed 's,\.syms ,.epro ,g'` echo "INCS_${mddname} = \$(EPRO_${mddname}) $otherincs" - echo "EXPIMP_${mddname} = $exportdeps \$(EXPOPT)$mddname.export" + echo "EXPIMP_${mddname} = $imports \$(EXPOPT)$mddname.export" echo "NXPIMP_${mddname} =" echo echo "proto.${mddname}: \$(EPRO_${mddname})" diff --git a/Src/params.c b/Src/params.c index a3a3ce368..55b6fd7f5 100644 --- a/Src/params.c +++ b/Src/params.c @@ -1805,7 +1805,7 @@ sethparam(char *s, char **val) } /**/ -Param +mod_export Param setiparam(char *s, zlong val) { Value v; diff --git a/Src/utils.c b/Src/utils.c index ccf7ab94b..2a2d40f29 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -2143,7 +2143,7 @@ duplist(LinkList l, VFunc func) } /**/ -char ** +mod_export char ** duparray(char **arr, VFunc func) { if (arr && *arr) { -- cgit 1.4.1