Replace zero-length array decls with [].

C99 denotes variable-sized members with [], not [0].

Signed-off-by: Jason Riedy <ejr@cs.berkeley.edu>
This commit is contained in:
Jason Riedy
2005-08-23 13:31:09 -07:00
parent 2a29da7c6d
commit 6c5f9baa3b
5 changed files with 8 additions and 8 deletions

View File

@ -102,7 +102,7 @@ static unsigned long parse_commit_date(const char *buf)
static struct commit_graft {
unsigned char sha1[20];
int nr_parent;
unsigned char parent[0][20]; /* more */
unsigned char parent[][20]; /* more */
} **commit_graft;
static int commit_graft_alloc, commit_graft_nr;