diff options
Diffstat (limited to 'src/cli')
| -rw-r--r-- | src/cli/Makefile.am | 2 | ||||
| -rw-r--r-- | src/cli/run-command.c (renamed from src/cli/run-command.cpp) | 0 | ||||
| -rw-r--r-- | src/cli/run-command.h | 8 |
3 files changed, 9 insertions, 1 deletions
diff --git a/src/cli/Makefile.am b/src/cli/Makefile.am index 14d98a01..3c1a3432 100644 --- a/src/cli/Makefile.am +++ b/src/cli/Makefile.am @@ -2,7 +2,7 @@ bin_PROGRAMS = abrt-cli abrt_cli_SOURCES = \ CLI.cpp \ - run-command.h run-command.cpp \ + run-command.h run-command.c \ report.h report.cpp \ dbus.h dbus.cpp diff --git a/src/cli/run-command.cpp b/src/cli/run-command.c index 1f6836d6..1f6836d6 100644 --- a/src/cli/run-command.cpp +++ b/src/cli/run-command.c diff --git a/src/cli/run-command.h b/src/cli/run-command.h index 71391579..1ebb0a94 100644 --- a/src/cli/run-command.h +++ b/src/cli/run-command.h @@ -18,6 +18,14 @@ #ifndef ABRT_CLI_RUN_COMMAND_H #define ABRT_CLI_RUN_COMMAND_H +#ifdef __cplusplus +extern "C" { +#endif + int run_command(char **argv); +#ifdef __cplusplus +} +#endif + #endif |
