I'm reading some c codes and find that some struct contains a union name without a variable name, just as the following example:
typedef union Lock Lock;
union Lock{
uint32 key;
};
struct Test{
Lock;
uint32 name1;
};
What does the Lock inside Test mean? PS. the type uint32 has already been defined before the two declaration.