Globally disable E_STATIC_UNUSED lint check for usr/src/uts
GCC being the primary compiler does a better job at detecting this, and as there are false positives reported by lint, we should simply globally disable the check.
Updated by Yuri Pankov about 4 years ago
Gordon Ross wrote:
This is a poor solution to a problem that was introduced by #6201
This isn't solution to anything other than disabling not really helpful checks in proprietary tool having better checks in our primary compiler. It was inspired by discussion of what we should use in sys/ctype.h, but that's all.
A better solution to #6201 might have used "extern inline ..." in headers.
For more, on that topic, read up on (i.e.)
Is there a specific bit of information you wanted to link to?