threads / patch / 51385

patchenv--helper: mark a file-local symbol as static

Subject: [PATCH] env--helper: mark a file-local symbol as static

## tl;dr

One message between Jun 26, 2019 and Jun 26, 2019. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Ramsay Jones· Jun 26, 2019, 22:12 UTC · lore
Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
---
Hi Ævar,

If you need to re-roll your 'ab/test-env' branch, could you please squash this into the relevant patch (commit b4f207f339, "env--helper: new undocumented builtin wrapping git_env_*()", 2019-06-21).

Thanks!

ATB, Ramsay Jones

 builtin/env--helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to builtin/env--helper.c +1 −1
diff --git a/builtin/env--helper.c b/builtin/env--helper.c
index 1083c0f707..23c214fff6 100644
--- a/builtin/env--helper.c
+++ b/builtin/env--helper.c
@@ -7,7 +7,7 @@ static char const * const env__helper_usage[] = {
 	NULL
 };
 
-enum {
+static enum {
 	ENV_HELPER_TYPE_BOOL = 1,
 	ENV_HELPER_TYPE_ULONG
 } cmdmode = 0;
-- 
2.22.0

← back to recent threads