This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git

commit e3110d3ea78510115bf52454927331f7810a31aa
Author: raiden00pl <[email protected]>
AuthorDate: Thu May 2 09:11:39 2024 +0200

    examples/nxscope: add static to private functions
---
 examples/nxscope/nxscope_main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/nxscope/nxscope_main.c b/examples/nxscope/nxscope_main.c
index fd2a89fd3..bfdfadcbc 100644
--- a/examples/nxscope/nxscope_main.c
+++ b/examples/nxscope/nxscope_main.c
@@ -69,7 +69,7 @@ struct nxscope_thr_env_s
  * Name: nxscope_cb_userid
  ****************************************************************************/
 
-int nxscope_cb_userid(FAR void *priv, uint8_t id, FAR uint8_t *buff)
+static int nxscope_cb_userid(FAR void *priv, uint8_t id, FAR uint8_t *buff)
 {
   UNUSED(priv);
 
@@ -82,7 +82,7 @@ int nxscope_cb_userid(FAR void *priv, uint8_t id, FAR uint8_t 
*buff)
  * Name: nxscope_cb_start
  ****************************************************************************/
 
-int nxscope_cb_start(FAR void *priv, bool start)
+static int nxscope_cb_start(FAR void *priv, bool start)
 {
   UNUSED(priv);
 

Reply via email to