threads / patch / 15249

patchMake main_cmds and other_cmds local to builtin-help.c

Subject: [PATCH] Make main_cmds and other_cmds local to builtin-help.c

## tl;dr

One message between Aug 28, 2008 and Aug 28, 2008. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Alex Riesen· Aug 28, 2008, 17:17 UTC · lore
These are not used anywhere else.
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
---
 builtin-help.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to builtin-help.c +1 −1
diff --git a/builtin-help.c b/builtin-help.c
index 9225102..721038e 100644
--- a/builtin-help.c
+++ b/builtin-help.c
@@ -273,7 +273,7 @@ static int git_help_config(const char *var, const char *value, void *cb)
 	return git_default_config(var, value, cb);
 }
 
-struct cmdnames main_cmds, other_cmds;
+static struct cmdnames main_cmds, other_cmds;
 
 void list_common_cmds_help(void)
 {
-- 
1.6.0.1.150.g5966

← back to recent threads