fixed gnu compiler error

This commit is contained in:
Jeff Hill
2002-10-24 15:32:30 +00:00
parent 777c2c77be
commit ea2d06560e

View File

@@ -469,9 +469,10 @@ epicsThreadId epicsThreadGetIdSelf(void) {
return(pthreadInfo);
}
pthread_t epicsThreadGetPthreadIdSelf ( epicsThreadOSD * pthreadInfo )
pthread_t epicsThreadGetPthreadIdSelf ( epicsThreadPrivateId threadId )
{
return ( pthreadInfo->tid );
struct epicsThreadOSD * pThreadInfo = threadId;
return pThreadInfo->tid;
}
epicsThreadId epicsThreadGetId(const char *name) {