- code clean-up
authorJan Kupec <jkupec@suse.cz>
Sun, 4 Nov 2007 10:58:03 +0000 (10:58 +0000)
committerJan Kupec <jkupec@suse.cz>
Sun, 4 Nov 2007 10:58:03 +0000 (10:58 +0000)
src/zypp-checkpatches.cc
src/zypper-misc.cc
src/zypper-sources.cc
src/zypper.cc
src/zypper.h

index ffd2704..fef1b55 100644 (file)
@@ -20,7 +20,6 @@
 #include <zypp/PathInfo.h>
 
 #include "checkpatches-keyring-callbacks.h"
-//#include "zypper.h"
 #include "zypper-updates.h"
 
 #undef  ZYPP_BASE_LOGGER_LOGGROUP
index a04b5f1..35bee82 100644 (file)
@@ -4,6 +4,8 @@
 #include <boost/format.hpp>
 #include <boost/logic/tribool_io.hpp>
 
+#include <zypp/ZYppFactory.h>
+
 #include <zypp/Edition.h>
 #include <zypp/Patch.h>
 #include <zypp/Package.h>
index c25993a..b6919ef 100644 (file)
@@ -4,6 +4,7 @@
 #include <boost/logic/tribool.hpp>
 #include <boost/lexical_cast.hpp>
 
+#include <zypp/ZYpp.h>
 #include <zypp/target/store/PersistentStorage.h>
 #include <zypp/base/IOStream.h>
 
index 52a42e0..e50adec 100644 (file)
@@ -20,7 +20,9 @@
 
 #include <boost/logic/tribool.hpp>
 
-#include <zypp/base/Logger.h>
+#include <zypp/ZYppFactory.h>
+#include <zypp/base/LogControl.h>
+
 #include "zypp/base/UserRequestException.h"
 #include <zypp/repo/RepoException.h>
 #include <zypp/zypp_detail/ZYppReadOnlyHack.h>
 #include "zypper-command.h"
 #include "zypper-utils.h"
 
+#define ZYPPER_LOG "/var/log/zypper.log"
+#undef  ZYPP_BASE_LOGGER_LOGGROUP
+#define ZYPP_BASE_LOGGER_LOGGROUP "zypper"
+
 using namespace std;
 using namespace zypp;
 using namespace zypp::detail;
index 332b9fb..e635078 100644 (file)
@@ -3,25 +3,13 @@
 
 #include <libintl.h>
 
-#include <zypp/base/LogControl.h>
 #include <zypp/base/Logger.h>
-#include <zypp/base/String.h>
-#include <zypp/Locale.h>
-#include <zypp/ZYpp.h>
-#include <zypp/ZYppFactory.h>
 #include <zypp/ResStore.h>
-#include <zypp/base/String.h>
-#include <zypp/Digest.h>
-#include <zypp/CapFactory.h>
 #include <zypp/RepoInfo.h>
 #include <zypp/RepoManager.h>
 
 #include "zypper-command.h"
 
-#define ZYPPER_LOG "/var/log/zypper.log"
-#undef  ZYPP_BASE_LOGGER_LOGGROUP
-#define ZYPP_BASE_LOGGER_LOGGROUP "zypper"
-
 // ===== exit codes ======
 
 #define ZYPPER_EXIT_OK                     0