From 5a800eee13656b3177183ce9f4ad2187f03ef969 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 25 Mar 2004 10:38:16 +0000 Subject: 2004-03-25 Ralf Corsepius * include/tmacros.h: Convert to using c99 fixed size types. --- testsuites/support/ChangeLog | 4 ++++ testsuites/support/include/tmacros.h | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'testsuites') diff --git a/testsuites/support/ChangeLog b/testsuites/support/ChangeLog index fc2c35fcaa..ad84289003 100644 --- a/testsuites/support/ChangeLog +++ b/testsuites/support/ChangeLog @@ -1,3 +1,7 @@ +2004-03-25 Ralf Corsepius + + * include/tmacros.h: Convert to using c99 fixed size types. + 2004-03-25 Ralf Corsepius * configure.ac: Add 2nd arg to RTEMS_TOP. diff --git a/testsuites/support/include/tmacros.h b/testsuites/support/include/tmacros.h index f5298710ad..cae7b5d9aa 100644 --- a/testsuites/support/include/tmacros.h +++ b/testsuites/support/include/tmacros.h @@ -46,7 +46,7 @@ extern "C" { #define check_dispatch_disable_level( _expect ) \ do { \ - extern volatile rtems_unsigned32 _Thread_Dispatch_disable_level; \ + extern volatile uint32_t _Thread_Dispatch_disable_level; \ if ( (_expect) != -1 && _Thread_Dispatch_disable_level != (_expect) ) { \ printf( "\n_Thread_Dispatch_disable_level is (%d) not %d\n", \ _Thread_Dispatch_disable_level, (_expect) ); \ @@ -199,7 +199,7 @@ extern "C" { #endif #define put_name( name, crlf ) \ -{ rtems_unsigned32 c0, c1, c2, c3; \ +{ uint32_t c0, c1, c2, c3; \ c0 = (name >> 24) & 0xff; \ c1 = (name >> 16) & 0xff; \ c2 = (name >> 8) & 0xff; \ @@ -227,7 +227,7 @@ extern "C" { ( rtems_get_index( tid ) - \ rtems_configuration_get_rtems_api_configuration()->number_of_initialization_tasks ) -static inline rtems_unsigned32 get_ticks_per_second( void ) +static inline uint32_t get_ticks_per_second( void ) { rtems_interval ticks_per_second; (void) rtems_clock_get( RTEMS_CLOCK_GET_TICKS_PER_SECOND, &ticks_per_second ); -- cgit v1.2.3