aboutsummaryrefslogtreecommitdiff
path: root/builtin-help.c
diff options
context:
space:
mode:
authorAlex Riesen <raa.lkml@gmail.com>2008-08-28 19:17:46 +0200
committerJunio C Hamano <gitster@pobox.com>2008-08-28 21:51:04 -0700
commitc7371e992b1aa147b640759a7fa89e722e6db8dc (patch)
tree2a05f60094b6c9d4bc5a42fe77241f28ef6a8fd3 /builtin-help.c
parentb9f62c0e7d60905d20de552280f91441300197c0 (diff)
downloadgit-c7371e992b1aa147b640759a7fa89e722e6db8dc.tar.gz
git-c7371e992b1aa147b640759a7fa89e722e6db8dc.tar.xz
Make main_cmds and other_cmds local to builtin-help.c
These are not used anywhere else. Signed-off-by: Alex Riesen <raa.lkml@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-help.c')
-rw-r--r--builtin-help.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-help.c b/builtin-help.c
index 9225102f6..721038e4f 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)
{