[PATCH] Sort alphabetically squid-specific header files

From: Kinkie <gkinkie_at_gmail.com>
Date: Wed, 15 Aug 2012 22:23:23 +0200

Hi all,
  the attached (auto-generated, but tested) patch sorts all include
directives alphabetically for all .cc files in the source-tree.
The attached file generated the patch with the shell command:
for file in $(find . -name \*.cc); do sort-includes.pl $file
>$file.moved; mv $file.moved $file; done

The specification for the sorting is:
sort any block of consecutive (no white lines or other directives)
#include "" directives alphabetrically, case-insensitively, leaving
squid.h as the first one.

The resulting tree passes the test-suite on my Kubuntu Precise.
If it's OK, I'll merge the patch and add the sort-includes.pl tool in scripts/

-- 
    /kinkie


Received on Wed Aug 15 2012 - 20:23:31 MDT

This archive was generated by hypermail 2.2.0 : Thu Aug 16 2012 - 12:00:06 MDT