This is an automated email from the ASF dual-hosted git repository.
pkarashchenko 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 caa4c226bd dlfcn: Fix indent issue in lib_dlclose.c
caa4c226bd is described below
commit caa4c226bd102c75276ceebca755f8e93cf0a058
Author: Huang Qi <[email protected]>
AuthorDate: Fri Jul 26 18:04:34 2024 +0800
dlfcn: Fix indent issue in lib_dlclose.c
Signed-off-by: Huang Qi <[email protected]>
---
libs/libc/dlfcn/lib_dlclose.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/libs/libc/dlfcn/lib_dlclose.c b/libs/libc/dlfcn/lib_dlclose.c
index 9586f7a7a7..335d7fb77c 100644
--- a/libs/libc/dlfcn/lib_dlclose.c
+++ b/libs/libc/dlfcn/lib_dlclose.c
@@ -107,13 +107,13 @@ static inline int dlremove(FAR void *handle)
modp->modinfo.uninitializer = NULL;
- /* Call any .fini_array entries in reverse order */
+ /* Call any .fini_array entries in reverse order */
- array = (void (**)(void)) modp->finiarr;
- for (i = (modp->nfini - 1); i >= 0; i--)
- {
- array[i]();
- }
+ array = (void (**)(void))modp->finiarr;
+ for (i = (modp->nfini - 1); i >= 0; i--)
+ {
+ array[i]();
+ }
#if defined(CONFIG_FS_PROCFS) && !defined(CONFIG_FS_PROCFS_EXCLUDE_MODULE)
modp->initializer = NULL;