Skip to contentSkip to conversation

Cleaning up unrequired #include(s)

DISCUSSION Rajat Jain 1 participant 1 message Mar 6, 2007

lore
Share & tools
lore

Rajat Jain

author
#0 lore raw

Hi list,

I just finished porting the kernel to my board and am trying to cleanup my code. I had started my copying an existing board code and modifying it to suit my board. Its now working fine, but has numerous #includes which I do not think I need any more.

Is there a quickway to correctly identify which all #include statements can be safely removed from my source files, (because none of the symbols declared in the corresponding headers are actually used in my source)?

Thanks,

Rajat

--
To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to [email protected] Please read the FAQ at http://kernelnewbies.org/FAQ