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

1 messages from 2008-08-28 to 2008-08-28. Participants: Alex Riesen.
Thread: https://gitlist.dev/t/15249

## Alex Riesen, 2008-08-28 17:17

Subject: [PATCH] Make main_cmds and other_cmds local to builtin-help.c
Message-ID: <20080828171746.GC6024@blimp.local>
URL: https://gitlist.dev/e/20080828171746.GC6024%40blimp.local

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

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

```
