fixed sun pro warnings

This commit is contained in:
Jeff Hill
2001-01-12 16:31:00 +00:00
parent cfe2ed5f17
commit d0574e2f19
9 changed files with 76 additions and 38 deletions

View File

@@ -33,7 +33,7 @@ threadPrivateId cacRecursionLock;
static threadOnceId caClientContextIdOnce = OSITHREAD_ONCE_INIT;
static void ca_client_exit_handler ()
extern "C" void ca_client_exit_handler ()
{
if ( caClientContextId ) {
threadPrivateDelete ( caClientContextId );
@@ -42,7 +42,7 @@ static void ca_client_exit_handler ()
}
// runs once only for each process
static void ca_init_client_context ( void * )
extern "C" void ca_init_client_context ( void * )
{
caClientContextId = threadPrivateCreate ();
if ( caClientContextId ) {