If a C program were only allowed to declare each object or function once,
there would be no need for compatible types.
(which allows two or more declarations to refer to the same entity),
and separate compilation all need such a capability.
Not too surprisingly,
separate translation units (source files)
have different rules for type compatibility
than within a single translation unit.
Separate compilation compatibility
Compatible and composite types
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003