There are many redundant include directives in some
ON source files. This is only slightly unbeautiful, no bug.

With a simple script its easy to find such possible
candidates, but currently conditional preprocessor
directives are not considered by the script.
Could this issue be integrated into cstyle(1)?

See the attached .out files for all current candidates
in usr/src/uts/common/os/ and usr/src/uts/common/sys/.

It would be nice to get away from those redundancies!
May be its time to define a new coding rule for something
that should be quite normal.
 
 
This message posted from opensolaris.org

Attachment: findRedundantIncludes
Description: Binary data

Attachment: usr_src_uts_common_os.out
Description: Binary data

Attachment: usr_src_uts_common_sys.out
Description: Binary data

_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to