From a0dc58e8355a0d4b98b9c88e0f26172b1418d7c9 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 20 Jan 2011 21:32:58 +0100 Subject: add OPT_LIST mechanism to handle multiply occurring options This allowed to convert abrt-action-bugzilla, abrt-action-rhtsupport and abrt-action-kerneloops to parse_opts() Signed-off-by: Denys Vlasenko --- src/daemon/CommLayerServer.h | 1 - src/daemon/Daemon.h | 2 +- src/daemon/Settings.cpp | 2 +- src/daemon/abrt-server.c | 1 - 4 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src/daemon') diff --git a/src/daemon/CommLayerServer.h b/src/daemon/CommLayerServer.h index 997f6c41..b6da0ae5 100644 --- a/src/daemon/CommLayerServer.h +++ b/src/daemon/CommLayerServer.h @@ -20,7 +20,6 @@ #define COMMLAYERSERVER_H_ #include "abrtlib.h" -#include "abrt_crash_data.h" class CCommLayerServer { public: diff --git a/src/daemon/Daemon.h b/src/daemon/Daemon.h index eb691262..9072f844 100644 --- a/src/daemon/Daemon.h +++ b/src/daemon/Daemon.h @@ -21,7 +21,7 @@ #include #include "abrt_types.h" -#include "abrt_crash_data.h" +//#include "abrt_crash_data.h" class CCrashWatcher; class CCommLayerServer; diff --git a/src/daemon/Settings.cpp b/src/daemon/Settings.cpp index ff9062fc..e25b7959 100644 --- a/src/daemon/Settings.cpp +++ b/src/daemon/Settings.cpp @@ -76,7 +76,7 @@ static GList *parse_list(const char* list) } if (item->len > 0) - l = g_list_append(l, xstrdup(item->buf)); + l = g_list_append(l, xstrdup(item->buf)); strbuf_free(item); return l; diff --git a/src/daemon/abrt-server.c b/src/daemon/abrt-server.c index 3415e95c..ae1e3f35 100644 --- a/src/daemon/abrt-server.c +++ b/src/daemon/abrt-server.c @@ -17,7 +17,6 @@ */ #include "abrtlib.h" #include "dump_dir.h" -#include "abrt_crash_data.h" /* FILENAME_foo */ #include "hooklib.h" #include "parse_options.h" -- cgit