Linus,
Interesting. Looking at the kernel, we actually have a lot of them, ie [torvalds@i7 linux]$ git grep 'struct.*= {[:space:]*}' | wc 1105 6766 81616
...
and I didn't realize that the empty one might not even be standard.
I didn't know that gcc supported the empty form as an extension. http://c0x.coding-guidelines.com/6.7.8.html It's in section 6.7.9 of the C11 edition of the Standard. -- Derek M. Jones Software analysis tel: +44 (0)1252 520667 blog:shape-of-code.coding-guidelines.com