aboutsummaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-03-09 11:58:05 -0800
committerJunio C Hamano <junkio@cox.net>2006-03-09 11:58:05 -0800
commitb4f2a6ac9263d6e9bf3bf9c8abe607cd6def0ee8 (patch)
tree7956fa207bb2aa7eaee0290c2f8cbf11b1feaf6e /git.c
parent7bd7f2804d84258a5cd1e76c610496f6beaa4cdf (diff)
downloadgit-b4f2a6ac9263d6e9bf3bf9c8abe607cd6def0ee8.tar.gz
git-b4f2a6ac9263d6e9bf3bf9c8abe607cd6def0ee8.tar.xz
Use #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git.c')
-rw-r--r--git.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/git.c b/git.c
index 164d3e9e4..746e2af68 100644
--- a/git.c
+++ b/git.c
@@ -323,8 +323,6 @@ static int cmd_log(int argc, const char **argv, char **envp)
return 0;
}
-#define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
-
static void handle_internal_command(int argc, const char **argv, char **envp)
{
const char *cmd = argv[0];