summaryrefslogtreecommitdiff
path: root/server-info.c
diff options
context:
space:
mode:
authorJason Riedy <ejr@cs.berkeley.edu>2005-08-23 20:31:09 (GMT)
committerJason Riedy <ejr@cs.berkeley.edu>2005-08-24 03:41:11 (GMT)
commit6c5f9baa3bc0d63e141e0afc23110205379905a4 (patch)
tree3fd2a88512168179a81756768f444ecf3ccd23d6 /server-info.c
parent2a29da7c6d6103c4719c71f6cce88e853260912c (diff)
downloadgit-6c5f9baa3bc0d63e141e0afc23110205379905a4.zip
git-6c5f9baa3bc0d63e141e0afc23110205379905a4.tar.gz
git-6c5f9baa3bc0d63e141e0afc23110205379905a4.tar.bz2
Replace zero-length array decls with [].
C99 denotes variable-sized members with [], not [0]. Signed-off-by: Jason Riedy <ejr@cs.berkeley.edu>
Diffstat (limited to 'server-info.c')
-rw-r--r--server-info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server-info.c b/server-info.c
index 2b3aeca..cb58eb6 100644
--- a/server-info.c
+++ b/server-info.c
@@ -70,7 +70,7 @@ static struct pack_info {
int nr_alloc;
int nr_heads;
unsigned char (*head)[20];
- char dep[0]; /* more */
+ char dep[]; /* more */
} **info;
static int num_pack;
static const char *objdir;