summaryrefslogtreecommitdiff
path: root/ftparchive
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2020-01-07 21:21:35 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2020-01-14 13:10:36 +0100
commit8c1a37e12790a23f3b132899485e011f9134b483 (patch)
treeb794739c375d7c984c4190be44b9ed678e9bf0da /ftparchive
parent5872a2e7dd308e49a063a20da1beb40a32d1e9b2 (diff)
Remove includes of (md5|sha1|sha2).h headers
Remove it everywhere, except where it is still needed.
Diffstat (limited to 'ftparchive')
-rw-r--r--ftparchive/cachedb.cc3
-rw-r--r--ftparchive/writer.cc3
2 files changed, 0 insertions, 6 deletions
diff --git a/ftparchive/cachedb.cc b/ftparchive/cachedb.cc
index 1890c28d0..dedb01eaa 100644
--- a/ftparchive/cachedb.cc
+++ b/ftparchive/cachedb.cc
@@ -17,9 +17,6 @@
#include <apt-pkg/fileutl.h>
#include <apt-pkg/gpgv.h>
#include <apt-pkg/hashes.h>
-#include <apt-pkg/md5.h>
-#include <apt-pkg/sha1.h>
-#include <apt-pkg/sha2.h>
#include <apt-pkg/strutl.h>
#include <ctype.h>
diff --git a/ftparchive/writer.cc b/ftparchive/writer.cc
index edf548f3a..5dcb98c9c 100644
--- a/ftparchive/writer.cc
+++ b/ftparchive/writer.cc
@@ -19,10 +19,7 @@
#include <apt-pkg/fileutl.h>
#include <apt-pkg/gpgv.h>
#include <apt-pkg/hashes.h>
-#include <apt-pkg/md5.h>
#include <apt-pkg/pkgcache.h>
-#include <apt-pkg/sha1.h>
-#include <apt-pkg/sha2.h>
#include <apt-pkg/strutl.h>
#include <apt-pkg/tagfile.h>