]> git.saurik.com Git - apt.git/blobdiff - apt-private/private-upgrade.h
Move sysconf(_SC_OPEN_MAX); out of the for() loop to avoid unneeded syscalls
[apt.git] / apt-private / private-upgrade.h
index 6ede6f96caa78b53674d54411ae0d080b4186cc1..16bb93c9ba023a3ccc42f541edeef750a7f8914b 100644 (file)
@@ -1,11 +1,13 @@
 #ifndef APTPRIVATE_PRIVATE_UPGRADE_H
 #define APTPRIVATE_PRIVATE_UPGRADE_H
 
-#include <apt-pkg/cmndline.h>
+#include <apt-pkg/macros.h>
 
+class CommandLine;
 
+APT_PUBLIC bool DoDistUpgrade(CommandLine &CmdL);
+APT_PUBLIC bool DoUpgrade(CommandLine &CmdL);
 bool DoUpgradeNoNewPackages(CommandLine &CmdL);
 bool DoUpgradeWithAllowNewPackages(CommandLine &CmdL);
 
-
 #endif