aboutsummaryrefslogtreecommitdiff
path: root/quote.h
diff options
context:
space:
mode:
authorFlorian Forster <octo@verplant.org>2006-06-18 17:18:05 +0200
committerJunio C Hamano <junkio@cox.net>2006-06-18 21:19:09 -0700
commitb4b1550315c6184ea50936be305a4f1c78ad16a8 (patch)
treec51a79778f95b0f543fefabcdd576d6b77f4437c /quote.h
parent63f175693e46c8e1562e68a40086ec864f43886b (diff)
downloadgit-b4b1550315c6184ea50936be305a4f1c78ad16a8.tar.gz
git-b4b1550315c6184ea50936be305a4f1c78ad16a8.tar.xz
Don't instantiate structures with FAMs.
Since structures with `flexible array members' are an incomplete datatype ANSI C99 forbids creating instances of them. This patch removes such an instance from `diff-lib.c' and replaces it with a pointer to a `struct combine_diff_path'. Since all neccessary memory is allocated at once the number of calls to `xmalloc' is not increased. Signed-off-by: Florian Forster <octo@verplant.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'quote.h')
0 files changed, 0 insertions, 0 deletions