Home Segments Index Top Previous Next

658: Mainline

In general, you should include each header file in its corresponding source-code file, even if the header includes only function prototypes. That way, should there be any discrepancy between a function prototype provided in the header file and a function definition provided in the source-code file, the C compiler will note the discrepancy and complain.