Changeset 63f4be9 in rtems


Ignore:
Timestamp:
Oct 15, 2011, 9:19:50 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, 5, master
Children:
e94ce2f
Parents:
003999c
Message:

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

  • psxhdrs/key01.c, psxhdrs/key02.c, psxhdrs/key03.c, psxhdrs/key04.c: Let test() return values (avoid warnings).
Location:
testsuites/psxtests
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/ChangeLog

    r003999c r63f4be9  
    112011-10-15      Ralf Corsépius <ralf.corsepius@rtems.org>
    22
     3        * psxhdrs/key01.c, psxhdrs/key02.c, psxhdrs/key03.c,
     4        psxhdrs/key04.c: Let test() return values (avoid warnings).
    35        * psxhdrs/clock01.c, psxhdrs/clock02.c, psxhdrs/clock03.c,
    46        psxhdrs/clock04.c, psxhdrs/clock05.c, psxhdrs/clock06.c:
  • testsuites/psxtests/psxhdrs/key01.c

    r003999c r63f4be9  
    2323#endif
    2424
    25 void test( void );
     25int test( void );
    2626void key_destructor( void *argument );
    2727
     
    3232}
    3333
    34 void test( void )
     34int test( void )
    3535{
    3636  pthread_key_t    key;
     
    3838
    3939  result = pthread_key_create( &key, key_destructor );
     40 
     41  return result;
    4042}
  • testsuites/psxtests/psxhdrs/key02.c

    r003999c r63f4be9  
    2323#endif
    2424
    25 void test( void );
     25int test( void );
    2626
    27 void test( void )
     27int test( void )
    2828{
    2929  pthread_key_t    key;
     
    3535
    3636  result = pthread_setspecific( key, &value );
     37 
     38  return result;
    3739}
  • testsuites/psxtests/psxhdrs/key03.c

    r003999c r63f4be9  
    2323#endif
    2424
    25 void test( void );
     25int test( void );
    2626
    27 void test( void )
     27int test( void )
    2828{
    2929  pthread_key_t    key;
     
    3333
    3434  value = pthread_getspecific( key );
     35 
     36  return (value != 0);
    3537}
  • testsuites/psxtests/psxhdrs/key04.c

    r003999c r63f4be9  
    2323#endif
    2424
    25 void test( void );
     25int test( void );
    2626
    27 void test( void )
     27int test( void )
    2828{
    2929  pthread_key_t    key = 0;
     
    3131
    3232  result = pthread_key_delete( key );
     33 
     34  return result;
    3335}
Note: See TracChangeset for help on using the changeset viewer.