[PATCH] count_array_initializer() needs to know the type of element
commit970157685aabf9b8845319180c539ea58ed86539
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 9 May 2006 13:05:42 +0000 (9 09:05 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 9 May 2006 13:05:42 +0000 (9 09:05 -0400)
treebd9e9718819f2be26314c0c5f98ac90648ad5456
parent2cf1f4bba7302d1682fb6c9e4d2b79f88b32df92
[PATCH] count_array_initializer() needs to know the type of element

char *s[] = {"123456789"}; gives a single-element array
char p[] = {"123456789"}; gives a ten-element one

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
symbol.c
validation/init-char-array.c [new file with mode: 0644]