summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/ticker
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-03-30 11:12:01 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-03-30 11:12:01 +0000
commit4c84d7b760ceb1e140c1cfc0fa64289ca4d243ed (patch)
tree6925b52efd156f13a4493b4822653467de66c412 /testsuites/samples/ticker
parent2004-03-29 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-4c84d7b760ceb1e140c1cfc0fa64289ca4d243ed.tar.bz2
2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org>
* fileio/init.c, fileio/system.h, ticker/system.h, ticker/tasks.c, unlimited/init.c, unlimited/test1.c, unlimited/test2.c, unlimited/test3.c: Convert to using c99 fixed size types.
Diffstat (limited to 'testsuites/samples/ticker')
-rw-r--r--testsuites/samples/ticker/system.h4
-rw-r--r--testsuites/samples/ticker/tasks.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/testsuites/samples/ticker/system.h b/testsuites/samples/ticker/system.h
index 2139bc1403..fa231d56e4 100644
--- a/testsuites/samples/ticker/system.h
+++ b/testsuites/samples/ticker/system.h
@@ -73,7 +73,7 @@ extern rtems_name Task_name[ 4 ]; /* array of task names */
#define put_name( _name, _crlf ) \
do { \
- rtems_unsigned32 c0, c1, c2, c3; \
+ uint32_t c0, c1, c2, c3; \
\
c0 = ((_name) >> 24) & 0xff; \
c1 = ((_name) >> 16) & 0xff; \
@@ -91,7 +91,7 @@ extern rtems_name Task_name[ 4 ]; /* array of task names */
* static inline routine to make obtaining ticks per second easier.
*/
-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 ); return ticks_per_second;
diff --git a/testsuites/samples/ticker/tasks.c b/testsuites/samples/ticker/tasks.c
index 4ba35f61c1..e59557ed91 100644
--- a/testsuites/samples/ticker/tasks.c
+++ b/testsuites/samples/ticker/tasks.c
@@ -27,7 +27,7 @@ rtems_task Test_task(
{
rtems_id tid;
rtems_time_of_day time;
- rtems_unsigned32 task_index;
+ uint32_t task_index;
rtems_status_code status;
status = rtems_task_ident( RTEMS_SELF, RTEMS_SEARCH_ALL_NODES, &tid );