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 /methods/connect.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 'methods/connect.cc')
-rw-r--r-- | methods/connect.cc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/methods/connect.cc b/methods/connect.cc index 182af48ae..949cd3f99 100644 --- a/methods/connect.cc +++ b/methods/connect.cc @@ -13,29 +13,29 @@ // Include Files /*{{{*/ #include <config.h> -#include <apt-pkg/error.h> -#include <apt-pkg/fileutl.h> -#include <apt-pkg/strutl.h> #include <apt-pkg/acquire-method.h> #include <apt-pkg/configuration.h> +#include <apt-pkg/error.h> +#include <apt-pkg/fileutl.h> #include <apt-pkg/srvrec.h> +#include <apt-pkg/strutl.h> #include <gnutls/gnutls.h> #include <gnutls/x509.h> -#include <stdio.h> -#include <errno.h> -#include <unistd.h> +#include <set> #include <sstream> +#include <string> +#include <errno.h> +#include <stdio.h> #include <string.h> -#include<set> -#include<string> +#include <unistd.h> // Internet stuff +#include <netdb.h> +#include <arpa/inet.h> #include <netinet/in.h> #include <sys/socket.h> -#include <arpa/inet.h> -#include <netdb.h> #include "aptmethod.h" #include "connect.h" |