Changeset 001f588 in examples-v2


Ignore:
Timestamp:
Mar 3, 2015, 6:21:01 PM (4 years ago)
Author:
Gedare Bloom <gedare@…>
Branches:
4.11, 286403d7a3d0e521179e677c0d2fd7549c9ceab4
Children:
ac661f0
Parents:
75480f0
Message:

hello: remove spurious code. Close #2264

File:
1 edited

Legend:

Unmodified
Added
Removed
  • hello/both_hello/test.c

    r75480f0 r001f588  
    88#include <unistd.h>
    99
    10 long trace_test(int a, unsigned long b, long long c)
    11 {
    12   printf ("int a=%i, unsigned long b=%u, long long c=%lli\n",
    13           a, b, c);
    14   return (long) (a + b);
    15 }
    16 
    17 rtems_task hello_init(
     10rtems_task Init(
    1811  rtems_task_argument ignored
    1912)
    2013{
    2114  printf( "Classic -- Hello World\n" );
    22   //trace_test(1, 2, 3);
    2315  rtems_task_delete( RTEMS_SELF );
    24 }
    25 
    26 #define CONFIGURE_INIT_TASK_ENTRY_POINT hello_init
    27 
    28 int main(int argc, char** argv)
    29 {
    30   hello_init(0);
    3116}
    3217
     
    3722  printf( "POSIX -- Hello World\n" );
    3823  sleep( 1 );
    39   //trace_test(1, 2, 3);
    4024  exit( 0 );
    4125}
Note: See TracChangeset for help on using the changeset viewer.