fixed GNU and SUN PRO warnings

This commit is contained in:
Jeff Hill
2000-08-25 17:55:18 +00:00
parent b1d85b357c
commit 18b885af33
21 changed files with 76 additions and 74 deletions

View File

@@ -19,7 +19,7 @@
#include "tcpiiu_IL.h"
#include "nciu_IL.h"
extern "C" void cacRecursionLockExitHandler ()
static void cacRecursionLockExitHandler ()
{
if ( cacRecursionLock ) {
threadPrivateDelete ( cacRecursionLock );
@@ -27,7 +27,7 @@ extern "C" void cacRecursionLockExitHandler ()
}
}
static void cacInitRecursionLock ( void * dummy )
static void cacInitRecursionLock ( void * )
{
cacRecursionLock = threadPrivateCreate ();
if ( cacRecursionLock ) {
@@ -58,7 +58,7 @@ cac::cac ( bool enablePreemptiveCallbackIn ) :
threadOnce ( &once, cacInitRecursionLock, 0 );
if ( cacInitRecursionLock == 0 ) {
if ( cacRecursionLock == 0 ) {
throwWithLocation ( caErrorCode (ECA_ALLOCMEM) );
}