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.

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

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

     

  • Kernel News

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

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News