Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Riedy <ejr@cs.berkeley.edu>2005-08-24 00:31:09 +0400
committerJason Riedy <ejr@cs.berkeley.edu>2005-08-24 07:41:11 +0400
commit6c5f9baa3bc0d63e141e0afc23110205379905a4 (patch)
tree3fd2a88512168179a81756768f444ecf3ccd23d6 /ls-files.c
parent2a29da7c6d6103c4719c71f6cce88e853260912c (diff)
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 'ls-files.c')
-rw-r--r--ls-files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ls-files.c b/ls-files.c
index 2c7aada88c..56f3919e06 100644
--- a/ls-files.c
+++ b/ls-files.c
@@ -205,7 +205,7 @@ static int excluded(const char *pathname)
struct nond_on_fs {
int len;
- char name[0];
+ char name[];
};
static struct nond_on_fs **dir;