Zack's Kernel News

Headercheck

Sam Ravnborg announced headercheck, a new script that tells whether any kernel headers have failed to include all of their own dependencies. Ingo Molnar thought this was a great idea, but he also bemoaned the absence of a tool that would identify headers that include too many dependencies. He said that "the current practice of 'include enough .h files in the .c file to make it build' has resulted in perversely long #include line sections in .c files." In one case, he said, he'd reduced the number of #include lines in a source file from 32 down to 11.

Read full article as PDF:

Related content

  • Kernel News

    Chronicler Zack Brown reports on the latest news, views, dilemmas, and developments within the Linux kernel community.

  • Kernel News

    Chronicler Zack Brown reports on the latest news, views, dilemmas, and developments within the Linux kernel community.

  • Kernel News

    Chronicler Zack Brown reports on the latest news, views, dilemmas, and developments within the Linux kernel community.

  • Kernel News

    Chronicler Zack Brown reports on the latest news, views, dilemmas, and developments within the Linux kernel community.

  • Kernel News

    Chronicler Zack Brown reports on the latest news, views, dilemmas, and developments within the Linux kernel community.

comments powered by Disqus

Direct Download

Read full article as PDF:

News