[rtems commit] internal.h/main_mdump.c: Convert main methods to static
Joel Sherrill
joel at rtems.org
Mon Sep 30 17:02:43 UTC 2013
Module: rtems
Branch: master
Commit: db97feb50d1bb2df994d0b9dac54beae9d6a47d7
Changeset: http://git.rtems.org/rtems/commit/?id=db97feb50d1bb2df994d0b9dac54beae9d6a47d7
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Mon Sep 23 08:22:02 2013 -0500
internal.h/main_mdump.c: Convert main methods to static
---
cpukit/libmisc/shell/internal.h | 2 --
cpukit/libmisc/shell/main_mdump.c | 6 +++---
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/cpukit/libmisc/shell/internal.h b/cpukit/libmisc/shell/internal.h
index 815c5e9..d350bbc 100644
--- a/cpukit/libmisc/shell/internal.h
+++ b/cpukit/libmisc/shell/internal.h
@@ -35,8 +35,6 @@ extern void rtems_shell_print_heap_info(
);
-extern int rtems_shell_main_mdump(int argc, char *argv[]);
-
extern void rtems_shell_print_unified_work_area_message(void);
extern int rtems_shell_main_rm(int argc, char *argv[]);
diff --git a/cpukit/libmisc/shell/main_mdump.c b/cpukit/libmisc/shell/main_mdump.c
index df0d955..83be087 100644
--- a/cpukit/libmisc/shell/main_mdump.c
+++ b/cpukit/libmisc/shell/main_mdump.c
@@ -35,7 +35,7 @@ static void mdumpC(void* addr, int m);
int rtems_mdump(void* addr, int max, int sz);
-int rtems_shell_main_mdump(
+static int rtems_shell_main_mdump(
int argc,
char *argv[]
)
@@ -49,7 +49,7 @@ int rtems_shell_main_mdump(
return rtems_mdump(addr, max, sz);
}
-int rtems_shell_main_wdump(
+static int rtems_shell_main_wdump(
int argc,
char *argv[]
)
@@ -64,7 +64,7 @@ int rtems_shell_main_wdump(
}
-int rtems_shell_main_ldump(
+static int rtems_shell_main_ldump(
int argc,
char *argv[]
)
More information about the vc
mailing list