fixed compiler error on linux

This commit is contained in:
Jeff Hill
2002-10-24 00:12:11 +00:00
parent d9e6116d00
commit 3e5557b211
2 changed files with 3 additions and 3 deletions

View File

@@ -30,12 +30,12 @@ static pSigFunc pReplacedSigUrgFunc;
* allow error to be returned to sendto()
* instead of handling disconnect at interrupt
*/
static void localInstallSigIgnore ( int signal, pSigFunc pNewFunc,
static void localInstallSigIgnore ( int signalIn, pSigFunc pNewFunc,
pSigFunc * pReplacedFunc )
{
pSigFunc sigRet;
sigRet = signal ( signal, pNewFunc );
sigRet = signal ( signalIn, pNewFunc );
if ( sigRet == SIG_ERR ) {
fprintf (stderr, "%s replace of SIGPIPE failed beacuse %s\n",
__FILE__, strerror(errno));

View File

@@ -469,7 +469,7 @@ epicsThreadId epicsThreadGetIdSelf(void) {
return(pthreadInfo);
}
pthread_t epicsThreadGetPThreadIdSelf ( epicsThreadPrivateId id )
pthread_t epicsThreadGetPThreadIdSelf ( epicsThreadOSD * pthreadInfo )
{
return ( pthreadInfo->tid );
}