diff options
author | 2006-06-18 17:18:05 +0200 | |
---|---|---|
committer | 2006-06-18 21:19:09 -0700 | |
commit | b4b1550315c6184ea50936be305a4f1c78ad16a8 (patch) | |
tree | c51a79778f95b0f543fefabcdd576d6b77f4437c /Documentation/git-reset.txt | |
parent | Initialize FAMs using `FLEX_ARRAY'. (diff) | |
download | tgif-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 'Documentation/git-reset.txt')
0 files changed, 0 insertions, 0 deletions