mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
dlfcn, modlib: Appease nxstyle complaints
This commit is contained in:
committed by
Xiang Xiao
parent
63395b295f
commit
b39ce514ea
@@ -198,8 +198,8 @@ struct mod_loadinfo_s
|
||||
/* elfalloc is the base address of the memory that is allocated to hold the
|
||||
* module image.
|
||||
*
|
||||
* The alloc[] array in struct module_s will hold memory that persists after
|
||||
* the module has been loaded.
|
||||
* The alloc[] array in struct module_s will hold memory that persists
|
||||
* after the module has been loaded.
|
||||
*/
|
||||
|
||||
uintptr_t textalloc; /* .text memory allocated when module was loaded */
|
||||
@@ -245,8 +245,8 @@ int modlib_initialize(FAR const char *filename,
|
||||
* Name: modlib_uninitialize
|
||||
*
|
||||
* Description:
|
||||
* Releases any resources committed by modlib_initialize(). This essentially
|
||||
* undoes the actions of modlib_initialize.
|
||||
* Releases any resources committed by modlib_initialize(). This
|
||||
* essentially undoes the actions of modlib_initialize.
|
||||
*
|
||||
* Returned Value:
|
||||
* 0 (OK) is returned on success and a negated errno is returned on
|
||||
@@ -264,7 +264,8 @@ int modlib_uninitialize(FAR struct mod_loadinfo_s *loadinfo);
|
||||
*
|
||||
* Input Parameters:
|
||||
* symtab - The location to store the symbol table.
|
||||
* nsymbols - The location to store the number of symbols in the symbol table.
|
||||
* nsymbols - The location to store the number of symbols in the symbol
|
||||
* table.
|
||||
*
|
||||
* Returned Value:
|
||||
* None
|
||||
@@ -310,7 +311,8 @@ int modlib_load(FAR struct mod_loadinfo_s *loadinfo);
|
||||
*
|
||||
* Description:
|
||||
* Bind the imported symbol names in the loaded module described by
|
||||
* 'loadinfo' using the exported symbol values provided by modlib_setsymtab().
|
||||
* 'loadinfo' using the exported symbol values provided by
|
||||
* modlib_setsymtab().
|
||||
*
|
||||
* Returned Value:
|
||||
* 0 (OK) is returned on success and a negated errno is returned on
|
||||
@@ -318,7 +320,8 @@ int modlib_load(FAR struct mod_loadinfo_s *loadinfo);
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
int modlib_bind(FAR struct module_s *modp, FAR struct mod_loadinfo_s *loadinfo);
|
||||
int modlib_bind(FAR struct module_s *modp,
|
||||
FAR struct mod_loadinfo_s *loadinfo);
|
||||
|
||||
/****************************************************************************
|
||||
* Name: modlib_unload
|
||||
@@ -358,7 +361,8 @@ int modlib_unload(struct mod_loadinfo_s *loadinfo);
|
||||
****************************************************************************/
|
||||
|
||||
#if CONFIG_MODLIB_MAXDEPEND > 0
|
||||
int modlib_depend(FAR struct module_s *importer, FAR struct module_s *exporter);
|
||||
int modlib_depend(FAR struct module_s *importer,
|
||||
FAR struct module_s *exporter);
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user