[pacman-dev] [PATCH] Remove unneeded header inclusions

Allan McRae allan at archlinux.org
Sun Mar 2 16:19:20 EST 2014


On 03/03/14 06:24, Silvan Jegen wrote:
> I checked only a few files but if you think cleaning up the includes is
> worth the hassle I could continue to check further files.
> 
> (see: http://sillymon.ch/data/diskspace_8c__incl.png for example)
> 
> -- >8 --
> 
> These headers are included transitively and can be removed.
> 

No.  It is more robust to explicitly include all needed headers.

Allan




More information about the pacman-dev mailing list