dlfcn: Fix indent issue in lib_dlclose.c

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
Huang Qi 2024-07-26 18:04:34 +08:00 committed by Petro Karashchenko
parent c2132bb88e
commit caa4c226bd

View File

@ -107,13 +107,13 @@ static inline int dlremove(FAR void *handle)
modp->modinfo.uninitializer = NULL; 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; array = (void (**)(void))modp->finiarr;
for (i = (modp->nfini - 1); i >= 0; i--) for (i = (modp->nfini - 1); i >= 0; i--)
{ {
array[i](); array[i]();
} }
#if defined(CONFIG_FS_PROCFS) && !defined(CONFIG_FS_PROCFS_EXCLUDE_MODULE) #if defined(CONFIG_FS_PROCFS) && !defined(CONFIG_FS_PROCFS_EXCLUDE_MODULE)
modp->initializer = NULL; modp->initializer = NULL;