diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-04-15 18:56:42 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-04-15 18:56:42 +0000 |
commit | 3afecf811d05195baf8158cd460e50ee563991f6 (patch) | |
tree | 17f38e49adc0d6f57450538622396fd42ac5fc18 /cpukit | |
parent | Now compile files that previously existed but were not built because they (diff) | |
download | rtems-3afecf811d05195baf8158cd460e50ee563991f6.tar.bz2 |
Now compiles and is included in normal build even though it is untested.
Diffstat (limited to '')
-rw-r--r-- | cpukit/posix/src/aio.c | 3 | ||||
-rw-r--r-- | cpukit/posix/src/cancel.c | 16 |
2 files changed, 11 insertions, 8 deletions
diff --git a/cpukit/posix/src/aio.c b/cpukit/posix/src/aio.c index 9fc072f820..e57880ff78 100644 --- a/cpukit/posix/src/aio.c +++ b/cpukit/posix/src/aio.c @@ -5,6 +5,9 @@ #include <aio.h> #include <rtems/system.h> +#include <rtems/posix/seterr.h> + +int POSIX_NOT_IMPLEMENTED(); /*PAGE * diff --git a/cpukit/posix/src/cancel.c b/cpukit/posix/src/cancel.c index b6cc073456..1e3a4ff940 100644 --- a/cpukit/posix/src/cancel.c +++ b/cpukit/posix/src/cancel.c @@ -27,7 +27,7 @@ void POSIX_Thread_cancel_run( int old_cancel_state; POSIX_Cancel_Handler_control *handler; Chain_Control *handler_stack; - POSIX_API_Thread_Support_Control *thread_support; + POSIX_API_Control *thread_support; ISR_Level level; thread_support = the_thread->API_Extensions[ THREAD_API_POSIX ]; @@ -64,10 +64,10 @@ int pthread_cancel( ) { Thread_Control *the_thread; - POSIX_API_Thread_Support_Control *thread_support; + POSIX_API_Control *thread_support; Objects_Locations location; - the_thread = _POSIX_Threads_Get( &thread, &location ); + the_thread = _POSIX_Threads_Get( thread, &location ); switch ( location ) { case OBJECTS_ERROR: return EINVAL; @@ -95,7 +95,7 @@ int pthread_setcancelstate( int *oldstate ) { - POSIX_API_Thread_Support_Control *thread_support; + POSIX_API_Control *thread_support; if ( !oldstate ) return EINVAL; @@ -126,7 +126,7 @@ int pthread_setcanceltype( int *oldtype ) { - POSIX_API_Thread_Support_Control *thread_support; + POSIX_API_Control *thread_support; if ( !oldtype ) return EINVAL; @@ -154,7 +154,7 @@ int pthread_setcanceltype( void pthread_testcancel( void ) { - POSIX_API_Thread_Support_Control *thread_support; + POSIX_API_Control *thread_support; thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ]; @@ -175,7 +175,7 @@ void pthread_cleanup_push( { POSIX_Cancel_Handler_control *handler; Chain_Control *handler_stack; - POSIX_API_Thread_Support_Control *thread_support; + POSIX_API_Control *thread_support; if ( !routine ) return; /* XXX what to do really? */ @@ -206,7 +206,7 @@ void pthread_cleanup_pop( { POSIX_Cancel_Handler_control *handler; Chain_Control *handler_stack; - POSIX_API_Thread_Support_Control *thread_support; + POSIX_API_Control *thread_support; ISR_Level level; thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ]; |