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 2026/03/27 09:21:09 UTC
(nuttx) branch releases/12.13 updated: libs/libbuiltin: Fix spacing style in gcov.c
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch releases/12.13
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/releases/12.13 by this push:
new 3ef755a1093 libs/libbuiltin: Fix spacing style in gcov.c
3ef755a1093 is described below
commit 3ef755a1093fe5123263ba450c41e32ac5e7c945
Author: Huang Qi <hu...@xiaomi.com>
AuthorDate: Sat Mar 21 20:36:27 2026 +0800
libs/libbuiltin: Fix spacing style in gcov.c
Add space after 'else if' keyword to follow NuttX coding style
guidelines.
Signed-off-by: Huang Qi <hu...@xiaomi.com>
---
libs/libbuiltin/libgcc/gcov.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libs/libbuiltin/libgcc/gcov.c b/libs/libbuiltin/libgcc/gcov.c
index 02d41d71325..c73aa620b23 100644
--- a/libs/libbuiltin/libgcc/gcov.c
+++ b/libs/libbuiltin/libgcc/gcov.c
@@ -514,7 +514,7 @@ void __gcov_dump(void)
_NX_CLOSE(fd);
}
- else if(S_ISDIR(state.st_mode))
+ else if (S_ISDIR(state.st_mode))
{
args.mkdir = gcov_mkdir;
args.strip = atoi(getenv("GCOV_PREFIX_STRIP"));