I humbly ask for help with compliance to Dir 4.8.
(Borrowing from cxlin, thx)
Code: Select all
/* def.h */
/* Object implementation */
/* other.h */
extern void usetype(someType* p);
/* no-use.c */
/* Do something. But no use of SomeType at all. */
Given a structure SomeType which implementation is visible to no-use.c.
A pointer to SomeType is only visible through the included other.h where the usetype function is declared.
Is the implementation of no-use.c compliant with Dir 4.8 or not?