env--helper: mark a file-local symbol as static
diff mbox series

Message ID 9fe826c4-1295-d747-2ae5-e3b85a132d2b@ramsayjones.plus.com
State New
Headers show
Series
  • env--helper: mark a file-local symbol as static
Related show

Commit Message

Ramsay Jones July 11, 2019, 5:06 p.m. UTC
Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
---

Hi Junio,

It seems Ævar didn't have a need to re-roll his patches [1], before
the 'ab/test-env' branch was merged to next. This version of the
patch is based on current 'next'.

Thanks!

ATB,
Ramsay Jones

[1] https://public-inbox.org/git/f576dfa8-4beb-6430-67b3-6c05f520b040@ramsayjones.plus.com/

 builtin/env--helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

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;