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 /cmdline/apt-internal-planner.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 'cmdline/apt-internal-planner.cc')
-rw-r--r-- | cmdline/apt-internal-planner.cc | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/cmdline/apt-internal-planner.cc b/cmdline/apt-internal-planner.cc index 1e9de2e53..be9de4ef4 100644 --- a/cmdline/apt-internal-planner.cc +++ b/cmdline/apt-internal-planner.cc @@ -9,33 +9,33 @@ // Include Files /*{{{*/ #include <config.h> -#include <apt-pkg/error.h> -#include <apt-pkg/cmndline.h> -#include <apt-pkg/init.h> #include <apt-pkg/cachefile.h> #include <apt-pkg/cacheset.h> -#include <apt-pkg/strutl.h> +#include <apt-pkg/cmndline.h> +#include <apt-pkg/configuration.h> +#include <apt-pkg/depcache.h> #include <apt-pkg/edsp.h> +#include <apt-pkg/error.h> #include <apt-pkg/fileutl.h> -#include <apt-pkg/pkgsystem.h> -#include <apt-pkg/configuration.h> +#include <apt-pkg/init.h> #include <apt-pkg/packagemanager.h> -#include <apt-pkg/prettyprinters.h> -#include <apt-pkg/depcache.h> #include <apt-pkg/pkgcache.h> +#include <apt-pkg/pkgsystem.h> +#include <apt-pkg/prettyprinters.h> +#include <apt-pkg/strutl.h> -#include <apt-private/private-output.h> #include <apt-private/private-cmndline.h> #include <apt-private/private-main.h> +#include <apt-private/private-output.h> -#include <string.h> +#include <cstdio> #include <iostream> -#include <sstream> #include <list> +#include <sstream> #include <string> -#include <unistd.h> -#include <cstdio> #include <stdlib.h> +#include <string.h> +#include <unistd.h> #include <apti18n.h> /*}}}*/ |