summaryrefslogtreecommitdiff
path: root/apt-private/private-download.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2017-07-12 13:40:41 +0200
committerJulian Andres Klode <jak@debian.org>2017-07-12 13:57:51 +0200
commit87274d0f22e1dfd99b2e5200e2fe75c1b804eac3 (patch)
treeba3dd14cf899c550ea2e79a696a323bfe8479322 /apt-private/private-download.cc
parent78fcdd9629022c0c37742614351f5b02fed97607 (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-private/private-download.cc')
-rw-r--r--apt-private/private-download.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/apt-private/private-download.cc b/apt-private/private-download.cc
index c8d1b5a09..25dee318e 100644
--- a/apt-private/private-download.cc
+++ b/apt-private/private-download.cc
@@ -1,30 +1,30 @@
// Include Files /*{{{*/
#include <config.h>
-#include <apt-pkg/acquire.h>
#include <apt-pkg/acquire-item.h>
+#include <apt-pkg/acquire.h>
#include <apt-pkg/cacheset.h>
-#include <apt-pkg/cmndline.h>
#include <apt-pkg/clean.h>
+#include <apt-pkg/cmndline.h>
#include <apt-pkg/configuration.h>
#include <apt-pkg/error.h>
#include <apt-pkg/fileutl.h>
#include <apt-pkg/strutl.h>
+#include <apt-private/acqprogress.h>
#include <apt-private/private-cachefile.h>
#include <apt-private/private-download.h>
#include <apt-private/private-output.h>
#include <apt-private/private-utils.h>
-#include <apt-private/acqprogress.h>
#include <fstream>
#include <string>
#include <vector>
-#include <unistd.h>
-#include <sys/types.h>
-#include <pwd.h>
#include <fcntl.h>
+#include <pwd.h>
+#include <sys/types.h>
+#include <unistd.h>
#ifdef HAVE_VFS_H
#include <sys/vfs.h>
#else
@@ -33,9 +33,9 @@
#endif
#include <sys/mount.h>
#endif
-#include <sys/statvfs.h>
-#include <sys/stat.h>
#include <errno.h>
+#include <sys/stat.h>
+#include <sys/statvfs.h>
#include <apti18n.h>
/*}}}*/