Don't instantiate structures with FAMs.
authorFlorian Forster <octo@verplant.org>
Sun, 18 Jun 2006 14:54:16 +0000 (16:54 +0200)
committerFlorian Forster <octo@verplant.org>
Sun, 18 Jun 2006 14:54:16 +0000 (16:54 +0200)
commitc163a36f0bd0e07ffb9ee7d4bfb22f1cbb38eef8
tree0877ed5fce0afc0079c5be646e6594d3fd1cc778
parente587fd59510f2ed8326d280054d78cfb78d482dc
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.
diff-lib.c