Re: [PATCH] Cleanup: require config.h or squid.h first in .c and .cc files

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Mon, 08 Nov 2010 14:25:01 -0700

On 11/06/2010 07:40 PM, Amos Jeffries wrote:
> These are the code fixes identified by the altered enforcement script
> which checks the first #include file of each .c/.cc. (separate patch
> submission)
>
> * config.h has been used where none was present so as not to introduce
> new dependencies
>
> * some order shuffling for squid.h included too late found and fixed
>
> If there are no objections I'll commit after confirming there are no
> build problems on FreeBSB, Debian, Ubuntu. If anyone can do a build
> check on other systems and provide feedback that would be great.

I believe the changes that add "config.h" above some other Squid header
should not be necessary because config.h will be included via that other
header (directly or indirectly) if the rules are followed, as discussed
elsewhere.

Alex.
Received on Mon Nov 08 2010 - 21:25:21 MST

This archive was generated by hypermail 2.2.0 : Tue Nov 09 2010 - 12:00:04 MST