From 320724188859d96b0a974d9e84bacd49a614f97d Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 20 Jan 2011 21:43:54 +0100 Subject: remove plugin.h, move its only macro into into only user Signed-off-by: Denys Vlasenko --- src/daemon/Daemon.h | 1 - src/daemon/MiddleWare.cpp | 3 +-- src/daemon/abrt-server.c | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) (limited to 'src/daemon') diff --git a/src/daemon/Daemon.h b/src/daemon/Daemon.h index 9072f844..d771512e 100644 --- a/src/daemon/Daemon.h +++ b/src/daemon/Daemon.h @@ -21,7 +21,6 @@ #include #include "abrt_types.h" -//#include "abrt_crash_data.h" class CCrashWatcher; class CCommLayerServer; diff --git a/src/daemon/MiddleWare.cpp b/src/daemon/MiddleWare.cpp index 4da4db19..9a01bf3d 100644 --- a/src/daemon/MiddleWare.cpp +++ b/src/daemon/MiddleWare.cpp @@ -19,7 +19,6 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "abrtlib.h" -#include "plugin.h" #include "Daemon.h" #include "Settings.h" #include "comm_layer_inner.h" @@ -786,7 +785,7 @@ void GetPluginsInfo(map_map_string_t &map_of_plugin_info) if (!is_regular_file(dent, PLUGINS_CONF_DIR)) continue; char *ext = strrchr(dent->d_name, '.'); - if (!ext || strcmp(ext + 1, PLUGINS_CONF_EXTENSION) != 0) + if (!ext || strcmp(ext + 1, "conf") != 0) continue; VERB3 log("Found %s", dent->d_name); *ext = '\0'; diff --git a/src/daemon/abrt-server.c b/src/daemon/abrt-server.c index ae1e3f35..82d69670 100644 --- a/src/daemon/abrt-server.c +++ b/src/daemon/abrt-server.c @@ -16,7 +16,6 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "abrtlib.h" -#include "dump_dir.h" #include "hooklib.h" #include "parse_options.h" -- cgit