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

1 messages from 2019-06-26 to 2019-06-26. Participants: Ramsay Jones.
Thread: https://gitlist.dev/t/51385

## Ramsay Jones, 2019-06-26 22:12

Subject: [PATCH] env--helper: mark a file-local symbol as static
Message-ID: <f576dfa8-4beb-6430-67b3-6c05f520b040@ramsayjones.plus.com>
URL: https://gitlist.dev/e/f576dfa8-4beb-6430-67b3-6c05f520b040%40ramsayjones.plus.com

```

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(-)

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

```
