You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by li...@apache.org on 2026/03/21 23:45:00 UTC

(nuttx) branch master updated: libs/libbuiltin: Fix spacing style in gcov.c

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 228eae22a02 libs/libbuiltin: Fix spacing style in gcov.c
228eae22a02 is described below

commit 228eae22a0223a728c268468bff56b0394117bc8
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"));