logo

utils-std

Collection of commonly available Unix tools
commit: 81e55d1675082f9f25146e95c018753f0aa34358
parent 5b886a7ee7e64856e30b69332f63773703cdf768
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon,  1 Apr 2024 10:57:38 +0200

cmd/env: Rename export() to do_export()

Otherwise clang-format gets confused for some reason (C++?) and puts
export on the same line as int

Diffstat:

Mcmd/env.c4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmd/env.c b/cmd/env.c @@ -15,7 +15,7 @@ extern char **environ; char *envclear[1]; static int -export() +do_export() { int i = 0; @@ -116,7 +116,7 @@ main(int argc, char *argv[]) if(argc < 1) { - return export(); + return do_export(); } assert(argv[0]);