Skip to content

Commit

Permalink
Make main_cmds and other_cmds local to builtin-help.c
Browse files Browse the repository at this point in the history
These are not used anywhere else.

Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Alex Riesen authored and Junio C Hamano committed Aug 29, 2008
1 parent b9f62c0 commit c7371e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin-help.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit c7371e9

Please sign in to comment.