From b48baaf60beac1f14260445efed220f85d12a137 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 29 Oct 2009 07:22:07 +0000 Subject: [PATCH] Add local prototype for rtems_shell_main_monitor. --- testsuites/libtests/monitor02/init.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/testsuites/libtests/monitor02/init.c b/testsuites/libtests/monitor02/init.c index e3fc816ce2..3fefa417ea 100644 --- a/testsuites/libtests/monitor02/init.c +++ b/testsuites/libtests/monitor02/init.c @@ -21,6 +21,12 @@ #include #define MAX_ARGS 128 +/* + * HACK: API visibility violation + * rtems_shell_main_monitor should better be declared in rtems/shell.h + */ +extern int rtems_shell_main_monitor(int argc, char **argv); + char *Commands[] = { "task", "task 32",