summaryrefslogtreecommitdiffstats
path: root/lib/Utils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-01-19 18:08:01 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-01-19 18:08:01 +0100
commitc781b46915c73f8f7b12efddd0357930eb1df8bb (patch)
treec6a23126b702689d9d2842bbd1f3f46428995154 /lib/Utils
parent811e5d7e9917558b9529c42a9cc86a773b31c0c2 (diff)
downloadabrt-c781b46915c73f8f7b12efddd0357930eb1df8bb.tar.gz
abrt-c781b46915c73f8f7b12efddd0357930eb1df8bb.tar.xz
abrt-c781b46915c73f8f7b12efddd0357930eb1df8bb.zip
move all FILENAME_xxx defines to inc/CrashTypes.h
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/Utils')
-rw-r--r--lib/Utils/DebugDump.h19
-rw-r--r--lib/Utils/daemon.cpp2
2 files changed, 1 insertions, 20 deletions
diff --git a/lib/Utils/DebugDump.h b/lib/Utils/DebugDump.h
index d3eebb45..60d3bd3b 100644
--- a/lib/Utils/DebugDump.h
+++ b/lib/Utils/DebugDump.h
@@ -24,25 +24,6 @@
#define DEBUGDUMP_H_
#include <string>
-#include <dirent.h>
-#include <stdint.h>
-
-#define FILENAME_ARCHITECTURE "architecture"
-#define FILENAME_KERNEL "kernel"
-#define FILENAME_TIME "time"
-#define FILENAME_UID "uid"
-#define FILENAME_PACKAGE "package"
-#define FILENAME_COMPONENT "component"
-#define FILENAME_DESCRIPTION "description"
-#define FILENAME_ANALYZER "analyzer"
-#define FILENAME_RELEASE "release"
-#define FILENAME_EXECUTABLE "executable"
-#define FILENAME_REASON "reason"
-#define FILENAME_COMMENT "comment"
-#define FILENAME_REPRODUCE "reproduce"
-#define FILENAME_RATING "rating"
-#define FILENAME_CMDLINE "cmdline"
-
class CDebugDump
{
diff --git a/lib/Utils/daemon.cpp b/lib/Utils/daemon.cpp
index 05270624..7d60ce31 100644
--- a/lib/Utils/daemon.cpp
+++ b/lib/Utils/daemon.cpp
@@ -16,7 +16,7 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "abrtlib.h"
-#define FILENAME_CMDLINE "cmdline"
+
#define VAR_RUN_PID_FILE VAR_RUN"/abrt.pid"
static char *append_escaped(char *start, const char *s)