Clean up <sys/types.h>
Roland McGrath
roland@frob.com
Mon Oct 26 21:45:00 GMT 1998
> On Mon, 26 Oct 1998 17:44:27 -0800 (PST), H.J. Lu wrote:
> >>
> >> hjl@lucon.org (H.J. Lu) writes:
> >>
> >> > It should be cleaned up. For each header file, which include
> >> > <sys/types.h>, it should do something like
> >>
> >> This really should not be necessary. What are the actual problems?
> >>
> >
> >VSX-PCT complains the lines with "^^^^^^^^".
> [...]
>
> What's it doing complaining about the internal structure of
> user-opaque types?
I suspect it is complaining because there are symbols without __ or _[A-Z]
prefix. This is a valid test for ANSI/ISO C compliance (for the ANSI/ISO
C-specified headers and things they include in -ansi mode), but it has no
business complaining about it for POSIX.1 compliance. 1003.1-1996 requires
the application to #include all POSIX.1 header files before any application
code or #define's except for feature-test macro #define's; so unless those
structure names are used in macros that might be expanded in application
code, there is no way a conforming application can be affected by their
presence.
More information about the Libc-hacker
mailing list