commit | 8e7ee27095aee87b5db1b0061e2ceea5878a1bbd | [log] [tgz] |
---|---|---|
author | David Rientjes <rientjes@google.com> | Wed Aug 26 14:29:21 2009 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Aug 26 20:06:52 2009 -0700 |
tree | 8b4ce6b0597658deee6c968ed27663b097dca6b5 | |
parent | 105b6e8a74cac11cdf70903877593c7f202075cc [diff] |
flex_array: declare parts member to have incomplete type The `parts' member of struct flex_array should evaluate to an incomplete type so that sizeof() cannot be used and C99 does not require the zero-length specification. Signed-off-by: David Rientjes <rientjes@google.com> Acked-by: Dave Hansen <dave@linux.vnet.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>