summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2013-09-23 08:22:02 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2013-09-23 08:22:02 -0500
commitdb97feb50d1bb2df994d0b9dac54beae9d6a47d7 (patch)
treef688a4ae720847d590a28612de2614efd8cf7032 /cpukit
parentleon3/.../ckinit.c: Change get nanoseconds handler to static (diff)
downloadrtems-db97feb50d1bb2df994d0b9dac54beae9d6a47d7.tar.bz2
internal.h/main_mdump.c: Convert main methods to static
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/libmisc/shell/internal.h2
-rw-r--r--cpukit/libmisc/shell/main_mdump.c6
2 files changed, 3 insertions, 5 deletions
diff --git a/cpukit/libmisc/shell/internal.h b/cpukit/libmisc/shell/internal.h
index 815c5e9661..d350bbc382 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 df0d95516b..83be087e84 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[]
)