diff options
author | Michael Vogt <mvo@debian.org> | 2015-08-17 12:01:45 +0200 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2015-08-17 12:01:45 +0200 |
commit | 88a8975f156e452d9f3ebe76822b236e8962ebba (patch) | |
tree | f8a3b8d60e8d7bf8a8718aa044e66f0b852cc933 /apt-pkg/deb | |
parent | 44d9e9f91b6e87717844a7ec562bd38886a57aa6 (diff) |
Cleanup includes after running iwyu
Diffstat (limited to 'apt-pkg/deb')
-rw-r--r-- | apt-pkg/deb/debindexfile.cc | 11 | ||||
-rw-r--r-- | apt-pkg/deb/deblistparser.cc | 2 | ||||
-rw-r--r-- | apt-pkg/deb/debmetaindex.cc | 3 | ||||
-rw-r--r-- | apt-pkg/deb/debversion.cc | 1 | ||||
-rw-r--r-- | apt-pkg/deb/dpkgpm.cc | 2 |
5 files changed, 1 insertions, 18 deletions
diff --git a/apt-pkg/deb/debindexfile.cc b/apt-pkg/deb/debindexfile.cc index 627cd36c5..d3599b353 100644 --- a/apt-pkg/deb/debindexfile.cc +++ b/apt-pkg/deb/debindexfile.cc @@ -16,27 +16,18 @@ #include <apt-pkg/deblistparser.h> #include <apt-pkg/debrecords.h> #include <apt-pkg/configuration.h> -#include <apt-pkg/progress.h> #include <apt-pkg/error.h> -#include <apt-pkg/strutl.h> -#include <apt-pkg/acquire-item.h> -#include <apt-pkg/debmetaindex.h> -#include <apt-pkg/gpgv.h> #include <apt-pkg/fileutl.h> #include <apt-pkg/indexfile.h> -#include <apt-pkg/mmap.h> #include <apt-pkg/pkgcache.h> #include <apt-pkg/cacheiterators.h> -#include <apt-pkg/pkgcachegen.h> #include <apt-pkg/pkgrecords.h> #include <apt-pkg/srcrecords.h> -#include <apt-pkg/sptr.h> #include <stdio.h> #include <iostream> -#include <sstream> #include <string> -#include <memory> + #include <sys/stat.h> /*}}}*/ diff --git a/apt-pkg/deb/deblistparser.cc b/apt-pkg/deb/deblistparser.cc index 489d0434e..42eca8677 100644 --- a/apt-pkg/deb/deblistparser.cc +++ b/apt-pkg/deb/deblistparser.cc @@ -18,10 +18,8 @@ #include <apt-pkg/cachefilter.h> #include <apt-pkg/aptconfiguration.h> #include <apt-pkg/strutl.h> -#include <apt-pkg/fileutl.h> #include <apt-pkg/crc-16.h> #include <apt-pkg/md5.h> -#include <apt-pkg/mmap.h> #include <apt-pkg/pkgcache.h> #include <apt-pkg/cacheiterators.h> #include <apt-pkg/tagfile.h> diff --git a/apt-pkg/deb/debmetaindex.cc b/apt-pkg/deb/debmetaindex.cc index 123c91648..b2e9eeb00 100644 --- a/apt-pkg/deb/debmetaindex.cc +++ b/apt-pkg/deb/debmetaindex.cc @@ -20,12 +20,9 @@ #include <string> #include <utility> #include <vector> -#include <set> #include <algorithm> -#include <sys/types.h> #include <sys/stat.h> -#include <unistd.h> #include <string.h> #include <apti18n.h> diff --git a/apt-pkg/deb/debversion.cc b/apt-pkg/deb/debversion.cc index 043025912..48462c6a2 100644 --- a/apt-pkg/deb/debversion.cc +++ b/apt-pkg/deb/debversion.cc @@ -16,7 +16,6 @@ #include <apt-pkg/pkgcache.h> #include <string.h> -#include <string> #include <stdlib.h> #include <ctype.h> /*}}}*/ diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc index 644e4d8e4..6ae85d2ea 100644 --- a/apt-pkg/deb/dpkgpm.cc +++ b/apt-pkg/deb/dpkgpm.cc @@ -18,7 +18,6 @@ #include <apt-pkg/fileutl.h> #include <apt-pkg/install-progress.h> #include <apt-pkg/packagemanager.h> -#include <apt-pkg/pkgrecords.h> #include <apt-pkg/strutl.h> #include <apt-pkg/cacheiterators.h> #include <apt-pkg/macros.h> @@ -27,7 +26,6 @@ #include <errno.h> #include <fcntl.h> #include <grp.h> -#include <pty.h> #include <pwd.h> #include <signal.h> #include <stddef.h> |