Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add ns_cmdline patch
  • Loading branch information
facchinm committed Sep 22, 2021
commit 6ecb1ca3e8145c0040da96f0ca173754f86e57ef
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From 9e0cc1c9a636be2cafc5dfc5f5fd65526282eecc Mon Sep 17 00:00:00 2001
From: Martino Facchin <m.facchin@arduino.cc>
Date: Wed, 22 Sep 2021 15:34:24 +0200
Subject: [PATCH] mbed-client-cli: ns_cmdline: make cmd_class_t cmd private

---
features/frameworks/mbed-client-cli/source/ns_cmdline.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/features/frameworks/mbed-client-cli/source/ns_cmdline.c b/features/frameworks/mbed-client-cli/source/ns_cmdline.c
index 7e113502b6..1384e278ea 100644
--- a/features/frameworks/mbed-client-cli/source/ns_cmdline.c
+++ b/features/frameworks/mbed-client-cli/source/ns_cmdline.c
@@ -355,7 +355,7 @@ typedef struct cmd_class_s {
input_passthrough_func_t passthrough_fnc; // input passthrough cb function
} cmd_class_t;

-cmd_class_t cmd = {
+static cmd_class_t cmd = {
.init = false,
.cmd_ptr = NULL,
.mutex_wait_fnc = NULL,
--
2.33.0