aboutsummaryrefslogtreecommitdiffstats
path: root/lib/flex_array.c
diff options
context:
space:
mode:
authorDavid Rientjes <[email protected]>2009-08-26 21:29:21 +0000
committerLinus Torvalds <[email protected]>2009-08-27 03:06:52 +0000
commit8e7ee27095aee87b5db1b0061e2ceea5878a1bbd (patch)
tree8b4ce6b0597658deee6c968ed27663b097dca6b5 /lib/flex_array.c
parentflex_array: fix flex_array_free_parts comment (diff)
downloadkernel-8e7ee27095aee87b5db1b0061e2ceea5878a1bbd.tar.gz
kernel-8e7ee27095aee87b5db1b0061e2ceea5878a1bbd.zip
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 <[email protected]> Acked-by: Dave Hansen <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions