fixed sun pro warning

This commit is contained in:
Jeff Hill
2002-03-22 17:28:09 +00:00
parent bc1612357f
commit 4744a0029d
3 changed files with 16 additions and 18 deletions
+2 -4
View File
@@ -37,8 +37,7 @@ epicsThreadPrivateId caClientContextId;
static epicsThreadOnceId caClientContextIdOnce = EPICS_THREAD_ONCE_INIT;
// extern "C"
void ca_client_exit_handler ()
extern "C" void ca_client_exit_handler ()
{
if ( caClientContextId ) {
epicsThreadPrivateDelete ( caClientContextId );
@@ -47,8 +46,7 @@ void ca_client_exit_handler ()
}
// runs once only for each process
// extern "C"
void ca_init_client_context ( void * )
extern "C" void ca_init_client_context ( void * )
{
caClientContextId = epicsThreadPrivateCreate ();
if ( caClientContextId ) {