- hide dump_pool
authorJan Kupec <jkupec@suse.cz>
Wed, 27 Feb 2008 12:57:14 +0000 (12:57 +0000)
committerJan Kupec <jkupec@suse.cz>
Wed, 27 Feb 2008 12:57:14 +0000 (12:57 +0000)
src/zypper-misc.cc
src/zypper-misc.h

index 8a82568..9d0c9b5 100644 (file)
@@ -866,6 +866,25 @@ std::string calculate_token()
 }
 */
 
+void dump_pool ()
+{
+  int count = 1;
+  static bool full_pool_shown = false;
+
+  _XDEBUG( "---------------------------------------" );
+  for (ResPool::const_iterator it =   God->pool().begin(); it != God->pool().end(); ++it, ++count) {
+
+    if (!full_pool_shown                                    // show item if not shown all before
+        || it->status().transacts()                         // or transacts
+        || !it->status().isUndetermined())                  // or established status
+    {
+      _XDEBUG( count << ": " << *it );
+    }
+  }
+  _XDEBUG( "---------------------------------------" );
+  full_pool_shown = true;
+}
+
 bool resolve(Zypper & zypper)
 {
   int locks = God->applyLocks();
@@ -972,25 +991,6 @@ string string_status (const ResStatus& rs)
   return _("error");
 }
 
-void dump_pool ()
-{
-  int count = 1;
-  static bool full_pool_shown = false;
-
-  _XDEBUG( "---------------------------------------" );
-  for (ResPool::const_iterator it =   God->pool().begin(); it != God->pool().end(); ++it, ++count) {
-
-    if (!full_pool_shown                                    // show item if not shown all before
-       || it->status().transacts()                         // or transacts
-       || !it->status().isUndetermined())                  // or established status
-    {
-      _XDEBUG( count << ": " << *it );
-    }
-  }
-  _XDEBUG( "---------------------------------------" );
-  full_pool_shown = true;
-}
-
 // patches
 void show_patches(Zypper & zypper)
 {
index 332ef63..de728c8 100644 (file)
@@ -57,7 +57,6 @@ int show_summary(Zypper & zypper);
  * \return <tt>true</tt> if a solution has been found, <tt>false</tt> otherwise 
  */
 bool resolve(Zypper & zypper);
-void dump_pool();
 
 /** List patches */
 void show_patches(Zypper & zypper);