]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/upgrade.h
Release 1.2.3
[apt.git] / apt-pkg / upgrade.h
index 6cad64fd9b433cf8041c90b487964374c0ebcd4a..71dbb4fd3619fbb7fb04e7a1242605204ac3f9dc 100644 (file)
@@ -28,9 +28,8 @@ namespace APT {
    }
 }
 
-// please use APT::Upgrade::Upgrade() instead
-APT_DEPRECATED bool pkgDistUpgrade(pkgDepCache &Cache);
-APT_DEPRECATED bool pkgAllUpgrade(pkgDepCache &Cache);
+APT_DEPRECATED_MSG("Use APT::Upgrade::Upgrade() instead") bool pkgDistUpgrade(pkgDepCache &Cache);
+APT_DEPRECATED_MSG("Use APT::Upgrade::Upgrade() instead") bool pkgAllUpgrade(pkgDepCache &Cache);
 
 bool pkgMinimizeUpgrade(pkgDepCache &Cache);
 #endif