From bca250b0b2a1df4ceb939b71a269f71501fda024 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 30 Jul 2026 03:21:52 +0000 Subject: Prepare for 2.10.0.0; remove pedantic posix; support loopwhilex -x "" --- tools/gen-multicall.sh | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) (limited to 'tools') diff --git a/tools/gen-multicall.sh b/tools/gen-multicall.sh index 7a359b4..fe12272 100755 --- a/tools/gen-multicall.sh +++ b/tools/gen-multicall.sh @@ -41,7 +41,7 @@ EOF for i in `ls -1 src/execline/deps-exe` ; do j=`echo $i | tr - _` echo - grep -v '^#include ' < src/execline/${i}.c | grep -vF '/* ISC license. */' | sed -e "s/int main (int argc, char \(.*\)\*argv.*$/int ${j}_main (int argc, char \1*argv, char const *const *envp)/" + grep -v '^#include ' < src/execline/${i}.c | grep -vF '/* ISC license. */' | sed -e "s/int main (int argc, char \(.*\)\*argv.*$/static int ${j}_main (int argc, char \1*argv, char const *const *envp)/" echo echo '#undef USAGE' echo '#undef dieusage' @@ -52,27 +52,13 @@ cat <