Re: [patch] compiler, clang: suppress warning for unused static inline functions

From: Joe Perches
Date: Thu May 25 2017 - 12:49:04 EST


On Thu, 2017-05-25 at 09:14 -0700, Matthias Kaehlcke wrote:
> clang doesn't raise
> warnings about unused static inline functions in headers.

Is any "#include" file a "header" to clang or only "*.h" files?

For instance:

The kernel has ~500 .c files that other .c files #include.
Are unused inline functions in those .c files reported?