Re: Detect unused header files?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/5/09, Christopher Li <sparse@xxxxxxxxxxx> wrote:
> On Thu, Jul 30, 2009 at 1:36 PM, Sam Ravnborg<sam@xxxxxxxxxxxx> wrote:
>  > Thanks for hacking this up!
>  >
>  > I will try it out during the weekend as work permits. Busy...
>
>
> Any updates?
>
>  It seems that top level header file including sub component
>  header file is very common practice, especially on big header
>  file. From the header file itself is not sufficient to determine
>  the included header file is a sub component or some thing
>  new.

Could we have a flag to track top-level headers only?  So that
anything declared in sub-headers will be registered also under
top header file?  This seems more useful scanning mode for regular
user-space code.

-- 
marko
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux