Heh, it seems that it isn't valid C, but some compilers accept it (albeit in random ways).
So far in my tests, GCC complains when linking, and others either ignore the static, or in one extreme case promote any variable declaration of that struct to static.
So much for standards....
__________________
If God made me in his image, he's one fat ugly biatch.
I always get the soggy biscuit
Veni Vidi Codi
|