Skip to content

Commit

Permalink
Fix inconsistent signature of quitCommand_execute.
Browse files Browse the repository at this point in the history
  • Loading branch information
PengZheng committed Aug 31, 2023
1 parent 4afe250 commit 7062eb4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bundles/shell/shell/src/quit_command.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@
*under the License.
*/

#include "std_commands.h"
#include "celix_bundle_context.h"
#include "celix_compiler.h"

bool quitCommand_execute(void *_ptr, char *command_line_str CELIX_UNUSED, FILE *sout, FILE *serr CELIX_UNUSED) {
bool quitCommand_execute(void *_ptr, const char *command_line_str CELIX_UNUSED, FILE *sout, FILE *serr CELIX_UNUSED) {
bundle_context_t* ctx = _ptr;
fprintf(sout, "Quitting framework\n");
return celix_bundleContext_stopBundle(ctx, 0L);
Expand Down

0 comments on commit 7062eb4

Please sign in to comment.