diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2019-02-26 13:45:47 +0100 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2019-02-26 16:31:20 +0100 |
commit | 5c812fa5c81bf3670f00bdb1c70a41aa5f11214c (patch) | |
tree | af83063bd30f15d9de93d589abbe811280cc3066 | |
parent | 680b916ce7203a40ebd0a3882b9a71ca77278a67 (diff) |
dpkgpm: Remove deprecated pkgDPkgPM::SendV2Pkgs()
-rw-r--r-- | apt-pkg/deb/dpkgpm.cc | 4 | ||||
-rw-r--r-- | apt-pkg/deb/dpkgpm.h | 1 | ||||
-rw-r--r-- | debian/libapt-pkg6.0.symbols | 1 |
3 files changed, 0 insertions, 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<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)@APTPKG_6.0" 0.8.0 (c++)"pkgDPkgPM::WriteApportReport(char const*, char const*)@APTPKG_6.0" 0.8.0 |