I\'m curious what the difference here is when typedefing an enum or struct. Is there any difference semantically between these two blocks?
This:
typ
For structs there's a real difference that isn't simply about naming.
struct
This is valid C:
struct SomeEnum { struct SomeEnum *first; };
This is not:
typedef struct { SomeEnum *first; } SomeEnum;