Does C have One Definition Rule like C++?
I think what you’re looking for is chapter §6.2.7 from the C11 standard, Compatible type and composite type, (emphasis mine) All declarations that refer to the same object or function shall have compatible type; otherwise, the behavior is undefined. and related to compatible type, Two types have compatible type if their types are the same. … Read more