Use #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
[git.git] / git.c
diff --git a/git.c b/git.c
index 164d3e9..746e2af 100644 (file)
--- 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];