diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cli/Makefile.am | 2 | ||||
-rw-r--r-- | src/cli/cli.c (renamed from src/cli/CLI.cpp) | 0 | ||||
-rw-r--r-- | src/cli/report.h | 8 |
3 files changed, 9 insertions, 1 deletions
diff --git a/src/cli/Makefile.am b/src/cli/Makefile.am index 345598d0..ff6cd590 100644 --- a/src/cli/Makefile.am +++ b/src/cli/Makefile.am @@ -1,7 +1,7 @@ bin_PROGRAMS = abrt-cli abrt_cli_SOURCES = \ - CLI.cpp \ + cli.c \ run-command.h run-command.c \ report.h report.cpp abrt_cli_CPPFLAGS = \ diff --git a/src/cli/CLI.cpp b/src/cli/cli.c index 49c08279..49c08279 100644 --- a/src/cli/CLI.cpp +++ b/src/cli/cli.c diff --git a/src/cli/report.h b/src/cli/report.h index 80c0b9f2..58b8c25e 100644 --- a/src/cli/report.h +++ b/src/cli/report.h @@ -18,6 +18,10 @@ #ifndef ABRT_CLI_REPORT_H #define ABRT_CLI_REPORT_H +#ifdef __cplusplus +extern "C" { +#endif + int run_analyze_event(const char *dump_dir_name); /* Report the crash */ @@ -26,4 +30,8 @@ enum { }; int report(const char *dump_dir_name, int flags); +#ifdef __cplusplus +} +#endif + #endif |