diff options
author | Julian Andres Klode <jak@debian.org> | 2017-07-12 13:40:41 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2017-07-12 13:57:51 +0200 |
commit | 87274d0f22e1dfd99b2e5200e2fe75c1b804eac3 (patch) | |
tree | ba3dd14cf899c550ea2e79a696a323bfe8479322 /apt-pkg/acquire-item.cc | |
parent | 78fcdd9629022c0c37742614351f5b02fed97607 (diff) |
Reformat and sort all includes with clang-format
This makes it easier to see which headers includes what.
The changes were done by running
git grep -l '#\s*include' \
| grep -E '.(cc|h)$' \
| xargs sed -i -E 's/(^\s*)#(\s*)include/\1#\2 include/'
To modify all include lines by adding a space, and then running
./git-clang-format.sh.
Diffstat (limited to 'apt-pkg/acquire-item.cc')
-rw-r--r-- | apt-pkg/acquire-item.cc | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc index f8162a3bd..668b68ed4 100644 --- a/apt-pkg/acquire-item.cc +++ b/apt-pkg/acquire-item.cc @@ -16,36 +16,36 @@ #include <config.h> #include <apt-pkg/acquire-item.h> -#include <apt-pkg/configuration.h> +#include <apt-pkg/acquire.h> #include <apt-pkg/aptconfiguration.h> -#include <apt-pkg/sourcelist.h> +#include <apt-pkg/configuration.h> #include <apt-pkg/error.h> -#include <apt-pkg/strutl.h> #include <apt-pkg/fileutl.h> -#include <apt-pkg/tagfile.h> -#include <apt-pkg/metaindex.h> -#include <apt-pkg/acquire.h> +#include <apt-pkg/gpgv.h> #include <apt-pkg/hashes.h> #include <apt-pkg/indexfile.h> +#include <apt-pkg/metaindex.h> #include <apt-pkg/pkgcache.h> #include <apt-pkg/pkgrecords.h> -#include <apt-pkg/gpgv.h> +#include <apt-pkg/sourcelist.h> +#include <apt-pkg/strutl.h> +#include <apt-pkg/tagfile.h> #include <algorithm> +#include <ctime> +#include <iostream> +#include <numeric> +#include <random> +#include <sstream> +#include <string> +#include <vector> +#include <errno.h> #include <stddef.h> +#include <stdio.h> #include <stdlib.h> #include <string.h> -#include <iostream> -#include <vector> #include <sys/stat.h> #include <unistd.h> -#include <errno.h> -#include <string> -#include <stdio.h> -#include <ctime> -#include <sstream> -#include <numeric> -#include <random> #include <apti18n.h> /*}}}*/ |