You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2024/05/23 03:50:15 UTC
(nuttx-apps) 01/02: examples/nxscope: add static to private functions
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 <ra...@railab.me>
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);