]> git.saurik.com Git - apt.git/blobdiff - apt-private/private-upgrade.h
do not crash on SIGPIPE in pkgDPkgPM::RunScriptsWithPkgs()
[apt.git] / apt-private / private-upgrade.h
index 050d3a66825344fdb5ae970d2b7f8fd5d34d39e0..16bb93c9ba023a3ccc42f541edeef750a7f8914b 100644 (file)
@@ -1,12 +1,13 @@
 #ifndef APTPRIVATE_PRIVATE_UPGRADE_H
 #define APTPRIVATE_PRIVATE_UPGRADE_H
 
-#include <apt-pkg/cmndline.h>
+#include <apt-pkg/macros.h>
 
+class CommandLine;
 
-bool DoDistUpgrade(CommandLine &CmdL);
+APT_PUBLIC bool DoDistUpgrade(CommandLine &CmdL);
+APT_PUBLIC bool DoUpgrade(CommandLine &CmdL);
 bool DoUpgradeNoNewPackages(CommandLine &CmdL);
 bool DoUpgradeWithAllowNewPackages(CommandLine &CmdL);
 
-
 #endif