Changeset 003999c in rtems


Ignore:
Timestamp:
Oct 15, 2011, 5:31:26 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, 5, master
Children:
63f4be9
Parents:
03e0d9aa
Message:

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

  • psxhdrs/clock01.c, psxhdrs/clock02.c, psxhdrs/clock03.c, psxhdrs/clock04.c, psxhdrs/clock05.c, psxhdrs/clock06.c: Let test() return values (avoid warnings).
Location:
testsuites/psxtests
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/ChangeLog

    r03e0d9aa r003999c  
     12011-10-15      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * psxhdrs/clock01.c, psxhdrs/clock02.c, psxhdrs/clock03.c,
     4        psxhdrs/clock04.c, psxhdrs/clock05.c, psxhdrs/clock06.c:
     5        Let test() return values (avoid warnings).
     6
    172011-10-13      Ralf Corsépius <ralf.corsepius@rtems.org>
    28
  • testsuites/psxtests/psxhdrs/clock01.c

    r03e0d9aa r003999c  
    2323#endif
    2424
    25 void test( void );
     25int test( void );
    2626
    27 void test( void )
     27int test( void )
    2828{
    2929  clockid_t        clock_id = 0;
     
    3232
    3333  result = clock_gettime( clock_id, &tp );
     34 
     35  return result;
    3436}
  • testsuites/psxtests/psxhdrs/clock02.c

    r03e0d9aa r003999c  
    2323#endif
    2424
    25 void test( void );
     25int test( void );
    2626
    27 void test( void )
     27int test( void )
    2828{
    2929  clockid_t        clock_id = 0;
     
    3232
    3333  result = clock_settime( clock_id, &tp );
     34 
     35  return result;
    3436}
  • testsuites/psxtests/psxhdrs/clock03.c

    r03e0d9aa r003999c  
    2323#endif
    2424
    25 void test( void );
     25int test( void );
    2626
    27 void test( void )
     27int test( void )
    2828{
    2929  clockid_t        clock_id = 0;
     
    3232
    3333  result = clock_getres( clock_id, &res );
     34 
     35  return result;
    3436}
  • testsuites/psxtests/psxhdrs/clock04.c

    r03e0d9aa r003999c  
    2323#endif
    2424
    25 void test( void );
     25int test( void );
    2626
    27 void test( void )
     27int test( void )
    2828{
    2929  pid_t      pid = 0;
     
    3232
    3333  result = clock_getcpuclockid( pid, &clock_id );
     34 
     35  return result;
    3436}
  • testsuites/psxtests/psxhdrs/clock05.c

    r03e0d9aa r003999c  
    2626#endif
    2727
    28 void test( void );
     28int test( void );
    2929
    30 void test( void )
     30int test( void )
    3131{
    3232  clockid_t  clock_id = 0;
     
    3838
    3939  result = clock_setenable_attr( clock_id, attr );
     40
     41  return result;
    4042}
  • testsuites/psxtests/psxhdrs/clock06.c

    r03e0d9aa r003999c  
    2626#endif
    2727
    28 void test( void );
     28int test( void );
    2929
    30 void test( void )
     30int test( void )
    3131{
    3232  clockid_t  clock_id = 0;
     
    3535
    3636  result = clock_getenable_attr( clock_id, &attr );
     37 
     38  return result;
    3739}
Note: See TracChangeset for help on using the changeset viewer.