From caa4c226bd102c75276ceebca755f8e93cf0a058 Mon Sep 17 00:00:00 2001 From: Huang Qi Date: Fri, 26 Jul 2024 18:04:34 +0800 Subject: [PATCH] dlfcn: Fix indent issue in lib_dlclose.c Signed-off-by: Huang Qi --- 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;