* [PATCH] Make main_cmds and other_cmds local to builtin-help.c
@ 2008-08-28 17:17 Alex Riesen
0 siblings, 0 replies; only message in thread
From: Alex Riesen @ 2008-08-28 17:17 UTC (permalink / raw)
To: git; +Cc: Junio C Hamano
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-08-28 17:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-28 17:17 [PATCH] Make main_cmds and other_cmds local to builtin-help.c Alex Riesen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).