This is an automated email from the ASF dual-hosted git repository.

masayuki pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 8a14a13  binfmt: Rename dump_module to binfmt_dumpmodule
8a14a13 is described below

commit 8a14a13819f7f621e6f45b0a8c26433ede182bb3
Author: Xiang Xiao <[email protected]>
AuthorDate: Mon May 24 02:32:34 2021 +0800

    binfmt: Rename dump_module to binfmt_dumpmodule
    
    follow other binfmt function naming convention
    
    Signed-off-by: Xiang Xiao <[email protected]>
---
 binfmt/binfmt.h            | 6 +++---
 binfmt/binfmt_dumpmodule.c | 4 ++--
 binfmt/binfmt_loadmodule.c | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/binfmt/binfmt.h b/binfmt/binfmt.h
index 6a570f5..011e7c3 100644
--- a/binfmt/binfmt.h
+++ b/binfmt/binfmt.h
@@ -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
 
 /****************************************************************************
diff --git a/binfmt/binfmt_dumpmodule.c b/binfmt/binfmt_dumpmodule.c
index 488d178..6c7a78c 100644
--- a/binfmt/binfmt_dumpmodule.c
+++ b/binfmt/binfmt_dumpmodule.c
@@ -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)
     {
diff --git a/binfmt/binfmt_loadmodule.c b/binfmt/binfmt_loadmodule.c
index 604f0be..04614fd 100644
--- a/binfmt/binfmt_loadmodule.c
+++ b/binfmt/binfmt_loadmodule.c
@@ -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;
         }
     }

Reply via email to