Changeset e7edd55 in rtems


Ignore:
Timestamp:
Oct 12, 2011, 4:15:32 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, 5, master
Children:
077184fd
Parents:
764d531
Message:

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

  • psxhdrs/timer01.c, psxhdrs/timer02.c, psxhdrs/timer03.c, psxhdrs/timer04.c, psxhdrs/timer05.c, psxhdrs/timer06.c, psxhdrs/timer07.c: Let test() return values (avoid warnings).
Location:
testsuites/psxtests
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/ChangeLog

    r764d531 re7edd55  
     12011-10-12      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * psxhdrs/timer01.c, psxhdrs/timer02.c, psxhdrs/timer03.c,
     4        psxhdrs/timer04.c, psxhdrs/timer05.c, psxhdrs/timer06.c,
     5        psxhdrs/timer07.c: Let test() return values (avoid warnings).
     6
    172011-09-30      Ralf Corsépius <ralf.corsepius@rtems.org>
    28
  • testsuites/psxtests/psxhdrs/timer01.c

    r764d531 re7edd55  
    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;
     
    4040
    4141  result = timer_create( clock_id, &evp, &timerid );
     42 
     43  return result;
    4244}
  • testsuites/psxtests/psxhdrs/timer02.c

    r764d531 re7edd55  
    2323#endif
    2424
    25 void test( void );
     25int test( void );
    2626
    27 void test( void )
     27int test( void )
    2828{
    2929  timer_t timerid = 0;
     
    3131
    3232  result = timer_delete( timerid );
     33
     34  return result;
    3335}
  • testsuites/psxtests/psxhdrs/timer03.c

    r764d531 re7edd55  
    2323#endif
    2424
    25 void test( void );
     25int test( void );
    2626
    27 void test( void )
     27int test( void )
    2828{
    2929  timer_t           timerid = 0;
     
    4242
    4343  result = timer_settime( timerid, flags, &value, &ovalue );
     44
     45  return result;
    4446}
  • testsuites/psxtests/psxhdrs/timer04.c

    r764d531 re7edd55  
    2323#endif
    2424
    25 void test( void );
     25int test( void );
    2626
    27 void test( void )
     27int test( void )
    2828{
    2929  timer_t           timerid = 0;
     
    3232
    3333  result = timer_gettime( timerid, &value );
     34
     35  return result;
    3436}
  • testsuites/psxtests/psxhdrs/timer05.c

    r764d531 re7edd55  
    2323#endif
    2424
    25 void test( void );
     25int test( void );
    2626
    27 void test( void )
     27int test( void )
    2828{
    2929  timer_t           timerid = 0;
     
    3131
    3232  result = timer_getoverrun( timerid );
     33
     34  return result;
    3335}
  • testsuites/psxtests/psxhdrs/timer06.c

    r764d531 re7edd55  
    2323#endif
    2424
    25 void test( void );
     25int test( void );
    2626
    27 void test( void )
     27int test( void )
    2828{
    2929  struct timespec rqtp;
     
    3434  rqtp.tv_nsec = 0;
    3535  result = nanosleep( &rqtp, &rmtp );
     36
     37  return result;
    3638}
  • testsuites/psxtests/psxhdrs/timer07.c

    r764d531 re7edd55  
    1919#include <unistd.h>
    2020
    21 void test( void );
     21int test( void );
    2222
    23 void test( void )
     23int test( void )
    2424{
    2525  useconds_t usec;
     
    2828  usec = 0;
    2929  result = usleep( usec );
     30
     31  return result;
    3032}
Note: See TracChangeset for help on using the changeset viewer.