You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2026/10/18 20:52:45 UTC
(nuttx-apps) 02/09: examples/usrsocktest: Fix the nxstyle error in the wake test.
This is an automated email from the ASF dual-hosted git repository.
acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
commit 794c134b49248204b122e2c3028cea6237de9af3
Author: Marco Casaroli <ma...@gmail.com>
AuthorDate: Sun Oct 18 12:59:48 2026 +0200
examples/usrsocktest: Fix the nxstyle error in the wake test.
nxstyle reports "Left bracket not on separate line" for an initializer
in usrsocktest_wake_with_signal.c.
Move the bracket to its own line. This commit changes only whitespace.
Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Marco Casaroli <ma...@gmail.com>
---
examples/usrsocktest/usrsocktest_wake_with_signal.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/examples/usrsocktest/usrsocktest_wake_with_signal.c b/examples/usrsocktest/usrsocktest_wake_with_signal.c
index da460ab15..068e054e0 100644
--- a/examples/usrsocktest/usrsocktest_wake_with_signal.c
+++ b/examples/usrsocktest/usrsocktest_wake_with_signal.c
@@ -508,7 +508,8 @@ static void do_usrsock_blocking_poll_thread(FAR void *param)
intptr_t tidx = (intptr_t)param;
struct sockaddr_in addr;
int ret;
- struct pollfd pfd = {
+ struct pollfd pfd =
+ {
};
bool test_abort = !!(test_flags & TEST_FLAG_DAEMON_ABORT);