Skip to content

Commit

Permalink
hello: remove spurious code. Close #2264
Browse files Browse the repository at this point in the history
  • Loading branch information
gedare committed Mar 3, 2015
1 parent 75480f0 commit 001f588
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions hello/both_hello/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}

Expand Down

0 comments on commit 001f588

Please sign in to comment.