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
Jun 26, 2019, 22:12 UTC
Message-ID
<f576dfa8-4beb-6430-67b3-6c05f520b040@ramsayjones.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
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, Jun 26, 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.