diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-08-17 18:55:35 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-08-17 18:55:35 +0200 |
commit | 3d7e4711921a936688441ea06c4691a67d5809be (patch) | |
tree | 2e9579ccfe53d00bb2b98d79d4fd703b7e91aad5 /lib/utils | |
parent | 276100c5e7b543dfcaa1dc9f4ee748ca9032d587 (diff) | |
download | abrt-3d7e4711921a936688441ea06c4691a67d5809be.tar.gz abrt-3d7e4711921a936688441ea06c4691a67d5809be.tar.xz abrt-3d7e4711921a936688441ea06c4691a67d5809be.zip |
*: move NLS include and #define _ to abrtlib.h
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/utils')
-rw-r--r-- | lib/utils/make_descr.cpp | 12 | ||||
-rw-r--r-- | lib/utils/parse_release.cpp | 2 |
2 files changed, 4 insertions, 10 deletions
diff --git a/lib/utils/make_descr.cpp b/lib/utils/make_descr.cpp index 8569100f..dc5273ca 100644 --- a/lib/utils/make_descr.cpp +++ b/lib/utils/make_descr.cpp @@ -16,19 +16,13 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include "abrtlib.h" #include "crash_types.h" #include "debug_dump.h" /* FILENAME_ARCHITECTURE etc */ #include "strbuf.h" -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif -#if ENABLE_NLS -# include <libintl.h> -# define _(S) gettext(S) -#else -# define _(S) (S) -#endif using namespace std; diff --git a/lib/utils/parse_release.cpp b/lib/utils/parse_release.cpp index 3d6b572f..0b8bf5eb 100644 --- a/lib/utils/parse_release.cpp +++ b/lib/utils/parse_release.cpp @@ -16,10 +16,10 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "abrtlib.h" #ifdef HAVE_CONFIG_H # include "config.h" #endif +#include "abrtlib.h" #include "strbuf.h" |