diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2011-01-20 21:43:54 +0100 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2011-01-20 21:43:54 +0100 |
commit | 320724188859d96b0a974d9e84bacd49a614f97d (patch) | |
tree | a29c3c1f666e345be07725508e694e72f6ac368e | |
parent | a0dc58e8355a0d4b98b9c88e0f26172b1418d7c9 (diff) | |
download | abrt-320724188859d96b0a974d9e84bacd49a614f97d.tar.gz abrt-320724188859d96b0a974d9e84bacd49a614f97d.tar.xz abrt-320724188859d96b0a974d9e84bacd49a614f97d.zip |
remove plugin.h, move its only macro into into only user
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
-rw-r--r-- | src/daemon/Daemon.h | 1 | ||||
-rw-r--r-- | src/daemon/MiddleWare.cpp | 3 | ||||
-rw-r--r-- | src/daemon/abrt-server.c | 1 | ||||
-rw-r--r-- | src/include/Makefile.am | 1 | ||||
-rw-r--r-- | src/include/plugin.h | 30 |
5 files changed, 1 insertions, 35 deletions
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 <pthread.h> #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" diff --git a/src/include/Makefile.am b/src/include/Makefile.am index cf524f7e..de9b39a2 100644 --- a/src/include/Makefile.am +++ b/src/include/Makefile.am @@ -12,5 +12,4 @@ libabrt_include_HEADERS = \ abrt_crash_data.h \ dbus_common.h \ observer.h \ - plugin.h \ xfuncs.h diff --git a/src/include/plugin.h b/src/include/plugin.h deleted file mode 100644 index 5af5753c..00000000 --- a/src/include/plugin.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - Plugin.h - header file for plugin. It contains mandatory macros - and common function for plugins - - Copyright (C) 2009 Zdenek Prikryl (zprikryl@redhat.com) - Copyright (C) 2009 RedHat inc. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ -#ifndef PLUGIN_H_ -#define PLUGIN_H_ - -#include "abrt_types.h" -#include "abrt_crash_data.h" - -#define PLUGINS_CONF_EXTENSION "conf" - -#endif |