summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-04-15 18:56:42 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-04-15 18:56:42 +0000
commit3afecf811d05195baf8158cd460e50ee563991f6 (patch)
tree17f38e49adc0d6f57450538622396fd42ac5fc18 /c
parentNow compile files that previously existed but were not built because they (diff)
downloadrtems-3afecf811d05195baf8158cd460e50ee563991f6.tar.bz2
Now compiles and is included in normal build even though it is untested.
Diffstat (limited to 'c')
-rw-r--r--c/src/exec/posix/src/aio.c3
-rw-r--r--c/src/exec/posix/src/cancel.c16
2 files changed, 11 insertions, 8 deletions
diff --git a/c/src/exec/posix/src/aio.c b/c/src/exec/posix/src/aio.c
index 9fc072f820..e57880ff78 100644
--- a/c/src/exec/posix/src/aio.c
+++ b/c/src/exec/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/c/src/exec/posix/src/cancel.c b/c/src/exec/posix/src/cancel.c
index b6cc073456..1e3a4ff940 100644
--- a/c/src/exec/posix/src/cancel.c
+++ b/c/src/exec/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 ];