]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/upgrade.h
add volatile sources support in libapt-pkg
[apt.git] / apt-pkg / upgrade.h
index 18b6aac7b03fedf7a25864c7538f3fc29b3545da..6cad64fd9b433cf8041c90b487964374c0ebcd4a 100644 (file)
@@ -24,12 +24,7 @@ namespace APT {
          FORBID_INSTALL_NEW_PACKAGES = 2,
         ALLOW_EVERYTHING = 0
       };
-#if APT_PKG_ABI >= 413
       bool Upgrade(pkgDepCache &Cache, int UpgradeMode, OpProgress * const Progress = NULL);
-#else
-      bool Upgrade(pkgDepCache &Cache, int UpgradeMode);
-      bool Upgrade(pkgDepCache &Cache, int UpgradeMode, OpProgress * const Progress);
-#endif
    }
 }