binfmt: Rename dump_module to binfmt_dumpmodule

follow other binfmt function naming convention

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2021-05-24 02:32:34 +08:00 committed by Masayuki Ishikawa
parent 001e7c3e76
commit 8a14a13819
3 changed files with 6 additions and 6 deletions

View File

@ -59,7 +59,7 @@ EXTERN FAR struct binfmt_s *g_binfmts;
****************************************************************************/
/****************************************************************************
* Name: dump_module
* Name: binfmt_dumpmodule
*
* Description:
* Dump the contents of struct binary_s.
@ -73,9 +73,9 @@ EXTERN FAR struct binfmt_s *g_binfmts;
****************************************************************************/
#if defined(CONFIG_DEBUG_FEATURES) && defined(CONFIG_DEBUG_BINFMT)
int dump_module(FAR const struct binary_s *bin);
int binfmt_dumpmodule(FAR const struct binary_s *bin);
#else
# define dump_module(bin)
# define binfmt_dumpmodule(bin)
#endif
/****************************************************************************

View File

@ -39,7 +39,7 @@
****************************************************************************/
/****************************************************************************
* Name: dump_module
* Name: binfmt_dumpmodule
*
* Description:
* Dump the contents of struct binary_s.
@ -52,7 +52,7 @@
*
****************************************************************************/
int dump_module(FAR const struct binary_s *bin)
int binfmt_dumpmodule(FAR const struct binary_s *bin)
{
if (bin)
{

View File

@ -127,7 +127,7 @@ static int load_absmodule(FAR struct binary_s *bin)
/* Save the unload method for use by unload_module */
bin->unload = binfmt->unload;
dump_module(bin);
binfmt_dumpmodule(bin);
break;
}
}