diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-08-08 13:50:28 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-08-08 13:50:28 +0000 |
commit | 3b14b7adabb5ef51e50dfea8357f574a2c5659e5 (patch) | |
tree | ad5d3ebcb220c22e3029372a18354269893ac57b /cpukit/score/src | |
parent | 2008-08-08 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff) | |
download | rtems-3b14b7adabb5ef51e50dfea8357f574a2c5659e5.tar.bz2 |
2008-08-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libmisc/monitor/monitor.h, rtems/include/rtems/rtems/tasks.h,
score/include/rtems/score/thread.h, score/src/threadreset.c,
score/src/threadrestart.c, score/src/threadstart.c: New type
Thread_Entry_numeric_type for numeric arguments in thread entry
functions with at least one numeric argument.
Diffstat (limited to 'cpukit/score/src')
-rw-r--r-- | cpukit/score/src/threadreset.c | 6 | ||||
-rw-r--r-- | cpukit/score/src/threadrestart.c | 6 | ||||
-rw-r--r-- | cpukit/score/src/threadstart.c | 10 |
3 files changed, 11 insertions, 11 deletions
diff --git a/cpukit/score/src/threadreset.c b/cpukit/score/src/threadreset.c index f4c12f38f7..b1e15ef3c2 100644 --- a/cpukit/score/src/threadreset.c +++ b/cpukit/score/src/threadreset.c @@ -41,9 +41,9 @@ */ void _Thread_Reset( - Thread_Control *the_thread, - void *pointer_argument, - uint32_t numeric_argument + Thread_Control *the_thread, + void *pointer_argument, + Thread_Entry_numeric_type numeric_argument ) { the_thread->resource_count = 0; diff --git a/cpukit/score/src/threadrestart.c b/cpukit/score/src/threadrestart.c index a55f601330..ea479c3194 100644 --- a/cpukit/score/src/threadrestart.c +++ b/cpukit/score/src/threadrestart.c @@ -41,9 +41,9 @@ */ boolean _Thread_Restart( - Thread_Control *the_thread, - void *pointer_argument, - uint32_t numeric_argument + Thread_Control *the_thread, + void *pointer_argument, + Thread_Entry_numeric_type numeric_argument ) { if ( !_States_Is_dormant( the_thread->current_state ) ) { diff --git a/cpukit/score/src/threadstart.c b/cpukit/score/src/threadstart.c index 6c9fc3337b..15701b82c0 100644 --- a/cpukit/score/src/threadstart.c +++ b/cpukit/score/src/threadstart.c @@ -41,11 +41,11 @@ */ boolean _Thread_Start( - Thread_Control *the_thread, - Thread_Start_types the_prototype, - void *entry_point, - void *pointer_argument, - uint32_t numeric_argument + Thread_Control *the_thread, + Thread_Start_types the_prototype, + void *entry_point, + void *pointer_argument, + Thread_Entry_numeric_type numeric_argument ) { if ( _States_Is_dormant( the_thread->current_state ) ) { |