Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Use #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
[gitweb.git]
/
git.c
diff --git
a/git.c
b/git.c
index 164d3e9e4f41869192493d39e93ea4fc34fde4eb..746e2af6841b1658320a48af3a8407a07a4d18ca 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];