Changeset d80b196 in rtems


Ignore:
Timestamp:
Oct 17, 2011, 9:53:17 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, 5, master
Children:
f7870bfb
Parents:
e94ce2f
Message:

2011-10-17 Ralf Corsépius <ralf.corsepius@…>

  • psxhdrs/sched01.c, psxhdrs/sched02.c, psxhdrs/sched03.c, psxhdrs/sched04.c, psxhdrs/sched05.c, psxhdrs/sched06.c, psxhdrs/sched07.c, psxhdrs/sched08.c: Let test() return values (avoid warnings).
Location:
testsuites/psxtests
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/ChangeLog

    re94ce2f rd80b196  
     12011-10-17      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * psxhdrs/sched01.c, psxhdrs/sched02.c, psxhdrs/sched03.c,
     4        psxhdrs/sched04.c, psxhdrs/sched05.c, psxhdrs/sched06.c,
     5        psxhdrs/sched07.c, psxhdrs/sched08.c:
     6        Let test() return values (avoid warnings).
     7
    182011-10-17      Ralf Corsépius <ralf.corsepius@rtems.org>
    29
  • testsuites/psxtests/psxhdrs/sched01.c

    re94ce2f rd80b196  
    2323#endif
    2424
    25 void test( void );
     25int test( void );
    2626
    27 void test( void )
     27int test( void )
    2828{
    2929  pid_t  pid;
     
    4747
    4848  result = sched_setparam( pid, &param );
     49
     50  return result;
    4951}
  • testsuites/psxtests/psxhdrs/sched02.c

    re94ce2f rd80b196  
    2323#endif
    2424
    25 void test( void );
     25int test( void );
    2626
    27 void test( void )
     27int test( void )
    2828{
    2929  pid_t  pid;
     
    3434
    3535  result = sched_getparam( pid, &param );
     36
     37  return result;
    3638}
  • testsuites/psxtests/psxhdrs/sched03.c

    re94ce2f rd80b196  
    2323#endif
    2424
    25 void test( void );
     25int test( void );
    2626
    27 void test( void )
     27int test( void )
    2828{
    2929  pid_t  pid;
     
    5555
    5656  result = sched_setscheduler( pid, policy, &param );
     57
     58  return result;
    5759}
  • testsuites/psxtests/psxhdrs/sched04.c

    re94ce2f rd80b196  
    2323#endif
    2424
    25 void test( void );
     25int test( void );
    2626
    27 void test( void )
     27int test( void )
    2828{
    2929  pid_t  pid;
     
    3333
    3434  result = sched_getscheduler( pid );
     35
     36  return result;
    3537}
  • testsuites/psxtests/psxhdrs/sched05.c

    re94ce2f rd80b196  
    2323#endif
    2424
    25 void test( void );
     25int test( void );
    2626
    27 void test( void )
     27int test( void )
    2828{
    2929  int    result;
    3030
    3131  result = sched_yield();
     32
     33  return result;
    3234}
  • testsuites/psxtests/psxhdrs/sched06.c

    re94ce2f rd80b196  
    2323#endif
    2424
    25 void test( void );
     25int test( void );
    2626
    27 void test( void )
     27int test( void )
    2828{
    2929  int    policy;
     
    3838
    3939  result = sched_get_priority_max( policy );
     40
     41  return result;
    4042}
  • testsuites/psxtests/psxhdrs/sched07.c

    re94ce2f rd80b196  
    2323#endif
    2424
    25 void test( void );
     25int test( void );
    2626
    27 void test( void )
     27int test( void )
    2828{
    2929  int    policy;
     
    3838
    3939  result = sched_get_priority_min( policy );
     40
     41  return result;
    4042}
  • testsuites/psxtests/psxhdrs/sched08.c

    re94ce2f rd80b196  
    2323#endif
    2424
    25 void test( void );
     25int test( void );
    2626
    27 void test( void )
     27int test( void )
    2828{
    2929  pid_t  pid;
     
    3434
    3535  result = sched_rr_get_interval( pid, &interval );
     36
     37  return result;
    3638}
Note: See TracChangeset for help on using the changeset viewer.