This is an automated email from the ASF dual-hosted git repository.
pengzheng pushed a commit to branch feature/614-github-cache-build-deps
in repository https://gitbox.apache.org/repos/asf/celix.git
The following commit(s) were added to
refs/heads/feature/614-github-cache-build-deps by this push:
new 7062eb40 Fix inconsistent signature of `quitCommand_execute`.
7062eb40 is described below
commit 7062eb4017518e3399a5a0db4d9e4c4b610efaee
Author: PengZheng <[email protected]>
AuthorDate: Thu Aug 31 11:01:31 2023 +0800
Fix inconsistent signature of `quitCommand_execute`.
---
bundles/shell/shell/src/quit_command.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/bundles/shell/shell/src/quit_command.c
b/bundles/shell/shell/src/quit_command.c
index e8e2a62a..acbd8370 100644
--- a/bundles/shell/shell/src/quit_command.c
+++ b/bundles/shell/shell/src/quit_command.c
@@ -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);