summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGedare Bloom <gedare@rtems.org>2015-03-03 13:21:01 -0500
committerGedare Bloom <gedare@rtems.org>2015-03-03 13:21:01 -0500
commit001f588d99ecdf502e727a66465df4d0ff756c8e (patch)
treebcbba3842e9cb045c5ebb62187c046cfa35bb43b
parentAdd more trace builds for other examples. (diff)
downloadrtems-examples-001f588d99ecdf502e727a66465df4d0ff756c8e.tar.bz2
hello: remove spurious code. Close #2264
-rw-r--r--hello/both_hello/test.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/hello/both_hello/test.c b/hello/both_hello/test.c
index 69dfb1a..0b6af11 100644
--- a/hello/both_hello/test.c
+++ b/hello/both_hello/test.c
@@ -7,36 +7,20 @@
#include <stdlib.h>
#include <unistd.h>
-long trace_test(int a, unsigned long b, long long c)
-{
- printf ("int a=%i, unsigned long b=%u, long long c=%lli\n",
- a, b, c);
- return (long) (a + b);
-}
-
-rtems_task hello_init(
+rtems_task Init(
rtems_task_argument ignored
)
{
printf( "Classic -- Hello World\n" );
- //trace_test(1, 2, 3);
rtems_task_delete( RTEMS_SELF );
}
-#define CONFIGURE_INIT_TASK_ENTRY_POINT hello_init
-
-int main(int argc, char** argv)
-{
- hello_init(0);
-}
-
void *POSIX_Init(
void *argument
)
{
printf( "POSIX -- Hello World\n" );
sleep( 1 );
- //trace_test(1, 2, 3);
exit( 0 );
}