diff options
author | Florian Forster <octo@verplant.org> | 2006-06-18 17:18:05 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-06-18 21:19:09 -0700 |
commit | b4b1550315c6184ea50936be305a4f1c78ad16a8 (patch) | |
tree | c51a79778f95b0f543fefabcdd576d6b77f4437c /blame.c | |
parent | 63f175693e46c8e1562e68a40086ec864f43886b (diff) | |
download | git-b4b1550315c6184ea50936be305a4f1c78ad16a8.tar.gz |
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 'blame.c')
0 files changed, 0 insertions, 0 deletions