Code

Make main_cmds and other_cmds local to builtin-help.c
authorAlex Riesen <raa.lkml@gmail.com>
Thu, 28 Aug 2008 17:17:46 +0000 (19:17 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 29 Aug 2008 04:51:04 +0000 (21:51 -0700)
These are not used anywhere else.

Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-help.c

index 9225102f6cb7568f6615b00c3765a0e6f111612a..721038e4f55703d00efc62af8ccf4588182fb58f 100644 (file)
@@ -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)
 {