git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Ramsay Jones <ramsay@ramsayjones.plus.com>
Date
Jul 11, 2019, 17:06 UTC
Message-ID
<9fe826c4-1295-d747-2ae5-e3b85a132d2b@ramsayjones.plus.com>
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(-)
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
Message 1 of 1 in “env--helper: mark a file-local symbol as static”
  1. env--helper: mark a file-local symbol as staticRamsay Jones, Jul 11, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.