Hello,
On 12/31/2012 09:43 PM, Theodore Ts'o wrote:
This is not the case with C --- in general the header file used by
consumers of a library is needed to produce the library itself. In
some cases the publically exported header file is a subset of the
header file used to build the library, but in general, you can either
generate the publically exported header file from the internal header
file, or the header file is separted into a public version and an
internal version which is only used when compiling the library --- but
in that case the library would need to public header file to build
itself, so it would be considered part of the corresponding source.
This is true today, but I believe two decades ago it was not uncommon to
not use the header files within the library itself. I certainly
remember seeing libraries which just added the function signatures used
in a particular source file at the top of the source file.
-- kuno / warp.