From a14d2af9588a3cd0d414d6e19669d3c01b143ccf Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 9 Jul 1997 23:52:08 +0000 Subject: Changed name from entry to thread_entry to be more compatible with Ada interface where entry is a keyword. --- cpukit/posix/include/rtems/posix/config.h | 2 +- cpukit/posix/src/pthread.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit') diff --git a/cpukit/posix/include/rtems/posix/config.h b/cpukit/posix/include/rtems/posix/config.h index a0851ad77f..ff1ec637e5 100644 --- a/cpukit/posix/include/rtems/posix/config.h +++ b/cpukit/posix/include/rtems/posix/config.h @@ -38,7 +38,7 @@ extern "C" { */ typedef struct { - void *(*entry)(void *); + void *(*thread_entry)(void *); } posix_initialization_threads_table; typedef struct { diff --git a/cpukit/posix/src/pthread.c b/cpukit/posix/src/pthread.c index 95213389cb..3721832c43 100644 --- a/cpukit/posix/src/pthread.c +++ b/cpukit/posix/src/pthread.c @@ -265,7 +265,7 @@ void _POSIX_Threads_Initialize_user_threads( void ) status = pthread_create( &thread_id, &attr, - user_threads[ index ].entry, + user_threads[ index ].thread_entry, NULL ); assert( !status ); -- cgit v1.2.3