From 5c812fa5c81bf3670f00bdb1c70a41aa5f11214c Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Tue, 26 Feb 2019 13:45:47 +0100 Subject: dpkgpm: Remove deprecated pkgDPkgPM::SendV2Pkgs() --- apt-pkg/deb/dpkgpm.cc | 4 ---- apt-pkg/deb/dpkgpm.h | 1 - debian/libapt-pkg6.0.symbols | 1 - 3 files changed, 6 deletions(-) diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc index 061badd88..101571782 100644 --- a/apt-pkg/deb/dpkgpm.cc +++ b/apt-pkg/deb/dpkgpm.cc @@ -301,10 +301,6 @@ bool pkgDPkgPM::Remove(PkgIterator Pkg,bool Purge) // --------------------------------------------------------------------- /* This is part of the helper script communication interface, it sends very complete information down to the other end of the pipe.*/ -bool pkgDPkgPM::SendV2Pkgs(FILE *F) -{ - return SendPkgsInfo(F, 2); -} bool pkgDPkgPM::SendPkgsInfo(FILE * const F, unsigned int const &Version) { // This version of APT supports only v3, so don't sent higher versions diff --git a/apt-pkg/deb/dpkgpm.h b/apt-pkg/deb/dpkgpm.h index f58bcef67..67c141766 100644 --- a/apt-pkg/deb/dpkgpm.h +++ b/apt-pkg/deb/dpkgpm.h @@ -93,7 +93,6 @@ class pkgDPkgPM : public pkgPackageManager // Helpers bool RunScriptsWithPkgs(const char *Cnf); - APT_DEPRECATED_MSG("Use SendPkgInfo with the version as parameter instead") bool SendV2Pkgs(FILE *F); bool SendPkgsInfo(FILE * const F, unsigned int const &Version); void WriteHistoryTag(std::string const &tag, std::string value); std::string ExpandShortPackageName(pkgDepCache &Cache, diff --git a/debian/libapt-pkg6.0.symbols b/debian/libapt-pkg6.0.symbols index 120b0579c..0a0b7e209 100644 --- a/debian/libapt-pkg6.0.symbols +++ b/debian/libapt-pkg6.0.symbols @@ -395,7 +395,6 @@ libapt-pkg.so.6.0 libapt-pkg6.0 #MINVER# (c++)"debSystem::UnLock(bool)@APTPKG_6.0" 0.8.0 (c++)"debSystem::debSystem()@APTPKG_6.0" 0.8.0 (c++)"debSystem::~debSystem()@APTPKG_6.0" 0.8.0 - (c++)"pkgDPkgPM::SendV2Pkgs(_IO_FILE*)@APTPKG_6.0" 0.8.0 (c++)"pkgDPkgPM::DoTerminalPty(int)@APTPKG_6.0" 0.8.0 (c++)"pkgDPkgPM::WriteHistoryTag(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator >)@APTPKG_6.0" 0.8.0 (c++)"pkgDPkgPM::WriteApportReport(char const*, char const*)@APTPKG_6.0" 0.8.0 -- cgit v1.2.3