diff options
author | Nikola Pajkovsky <npajkovs@redhat.com> | 2010-09-27 10:38:03 +0200 |
---|---|---|
committer | Nikola Pajkovsky <npajkovs@redhat.com> | 2010-09-27 10:38:03 +0200 |
commit | 3015af41b6b6b346cc579079eaf2841088bca757 (patch) | |
tree | 4987603e1a8f149a2cca16a92149c268e8e0affd /src/cli | |
parent | eb57a01fa6a59061212e6afd565abf4207a8703d (diff) | |
download | abrt-3015af41b6b6b346cc579079eaf2841088bca757.tar.gz abrt-3015af41b6b6b346cc579079eaf2841088bca757.tar.xz abrt-3015af41b6b6b346cc579079eaf2841088bca757.zip |
run-command.cpp: rename to run-command.c
Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
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 |