summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Klic <kklic@redhat.com>2010-08-19 10:37:25 +0200
committerKarel Klic <kklic@redhat.com>2010-08-19 10:38:51 +0200
commitc41531ef836eeab3fad71c8f429e72447ab1ddd7 (patch)
tree03e4bbb85047d69dcd83c651c57668d360a2bdd6
parent276100c5e7b543dfcaa1dc9f4ee748ca9032d587 (diff)
downloadabrt-c41531ef836eeab3fad71c8f429e72447ab1ddd7.tar.gz
abrt-c41531ef836eeab3fad71c8f429e72447ab1ddd7.tar.xz
abrt-c41531ef836eeab3fad71c8f429e72447ab1ddd7.zip
abrt_packages.h does not need xfuncs.h -> removing the include
abrt_packages.c needs xfuncs.h and logging.h -> including them
-rw-r--r--lib/utils/abrt_packages.c2
-rw-r--r--lib/utils/abrt_packages.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/utils/abrt_packages.c b/lib/utils/abrt_packages.c
index d9ffe44a..0e409a31 100644
--- a/lib/utils/abrt_packages.c
+++ b/lib/utils/abrt_packages.c
@@ -18,6 +18,8 @@
*/
#include "abrt_packages.h"
+#include "logging.h"
+#include "xfuncs.h"
/* cuts the name from the NVR format: foo-1.2.3-1.el6
returns a newly allocated string
diff --git a/lib/utils/abrt_packages.h b/lib/utils/abrt_packages.h
index e6209d81..6a952f5e 100644
--- a/lib/utils/abrt_packages.h
+++ b/lib/utils/abrt_packages.h
@@ -20,8 +20,6 @@
#ifndef ABRT_PACKAGES_H
#define ABRT_PACKAGES_H
-#include "xfuncs.h"
-
#ifdef __cplusplus
extern "C" {
#endif