diff options
| author | Karel Klic <kklic@redhat.com> | 2010-08-19 11:11:58 +0200 |
|---|---|---|
| committer | Karel Klic <kklic@redhat.com> | 2010-08-19 11:11:58 +0200 |
| commit | d6f6a7a98b83de0d0aa3792fb187b66d9d15953d (patch) | |
| tree | 3f88861519c32e3180d506507f1de3f8e34dfe45 /src/cli | |
| parent | 8b22e91dc2ac3e73d628486c91f83da5a0e5ec44 (diff) | |
| parent | 96071530ea85635cf87a6bf650b7f5ddbd219f44 (diff) | |
| download | abrt-d6f6a7a98b83de0d0aa3792fb187b66d9d15953d.tar.gz abrt-d6f6a7a98b83de0d0aa3792fb187b66d9d15953d.tar.xz abrt-d6f6a7a98b83de0d0aa3792fb187b66d9d15953d.zip | |
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
Diffstat (limited to 'src/cli')
| -rw-r--r-- | src/cli/CLI.cpp | 18 | ||||
| -rw-r--r-- | src/cli/report.cpp | 18 |
2 files changed, 12 insertions, 24 deletions
diff --git a/src/cli/CLI.cpp b/src/cli/CLI.cpp index 276703dc..d1cc13d8 100644 --- a/src/cli/CLI.cpp +++ b/src/cli/CLI.cpp @@ -15,6 +15,12 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#if HAVE_CONFIG_H +# include <config.h> +#endif +#if HAVE_LOCALE_H +# include <locale.h> +#endif #include <getopt.h> #include "abrt_exception.h" #include "abrtlib.h" @@ -22,18 +28,6 @@ #include "dbus_common.h" #include "report.h" #include "dbus.h" -#if HAVE_CONFIG_H -# include <config.h> -#endif -#if HAVE_LOCALE_H -# include <locale.h> -#endif -#if ENABLE_NLS -# include <libintl.h> -# define _(S) gettext(S) -#else -# define _(S) (S) -#endif /** Creates a localized string from crash time. */ static char *localize_crash_time(const char *timestr) diff --git a/src/cli/report.cpp b/src/cli/report.cpp index 96dec553..4c5eb6f1 100644 --- a/src/cli/report.cpp +++ b/src/cli/report.cpp @@ -15,6 +15,12 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include <cassert> +#include <algorithm> +#include <termios.h> +#if HAVE_CONFIG_H +# include <config.h> +#endif #include "report.h" #include "run-command.h" #include "dbus.h" @@ -22,18 +28,6 @@ #include "debug_dump.h" #include "crash_types.h" // FILENAME_* defines #include "plugin.h" // LoadPluginSettings -#include <cassert> -#include <algorithm> -#include <termios.h> -#if HAVE_CONFIG_H -# include <config.h> -#endif -#if ENABLE_NLS -# include <libintl.h> -# define _(S) gettext(S) -#else -# define _(S) (S) -#endif #include "abrt_packages.h" |
