Developer's Topics
Chapter 2, Complying with standard C

Separate compilation compatibility

Separate compilation compatibility

Since each compilation probably looks at different source files, most of the rules for compatible types across separate compiles are structural in nature:

An additional requirement is that the names of members (including the lack of names for unnamed members) match for structures, unions, and enums, but not necessarily their respective tags.