fixed gnu warnings

This commit is contained in:
Jeff Hill
2001-04-20 00:50:19 +00:00
parent a42a95f60a
commit 00641af25c
7 changed files with 14 additions and 7 deletions

View File

@@ -15,7 +15,7 @@
#include "epicsMemory.h"
#include "osiProcess.h"
#include "osiSigPipeIgnore.h"
#include "envdefs.h"
#include "envDefs.h"
#include "iocinf.h"
#include "cac.h"

View File

@@ -12,7 +12,10 @@
#define epicsAssertAuthor "Jeff Hill johill@lanl.gov"
#include "envdefs.h"
#include <ctype.h>
#include <string.h>
#include "envDefs.h"
#include "epicsAssert.h"
#include "locationException.h"

View File

@@ -163,6 +163,7 @@ void oldCAC::show ( unsigned level ) const
{
::printf ( "oldCAC at %p\n",
static_cast <const void *> ( this ) );
#if 0 // gnu compiler does not like casting func ptr to void ptr
::printf ( "exception func at %p arg at %p\n",
static_cast <const void *> ( this->ca_exception_func ),
static_cast <const void *> ( this->ca_exception_arg ) );
@@ -171,8 +172,10 @@ void oldCAC::show ( unsigned level ) const
::printf ( "fd registration func at %p arg at %p\n",
static_cast <const void *> ( this->fdRegFunc ),
static_cast <const void *> ( this->fdRegArg ) );
#endif
if ( level > 0u ) {
this->mutex.show ( level - 1u );
this->clientCtx.show ( level - 1u );
}
}
}

View File

@@ -57,7 +57,7 @@
#define epicsAssertAuthor "Jeff Hill johill@lanl.gov"
#include "tsDLList.h"
#include "envdefs.h"
#include "envDefs.h"
#include "tsFreeList.h"
#include "iocinf.h"

View File

@@ -13,6 +13,7 @@
#define epicsAssertAuthor "Jeff Hill johill@lanl.gov"
#include "localHostName.h"
#include "iocinf.h"
#include "virtualCircuit.h"
#include "inetAddrID.h"
@@ -20,7 +21,6 @@
#include "netiiu.h"
#include "netIO.h"
#include "msgForMultiplyDefinedPV.h"
#include "localHostName.h"
#define epicsExportSharedSymbols
#include "net_convert.h"

View File

@@ -12,7 +12,7 @@
#define epicsAssertAuthor "Jeff Hill johill@lanl.gov"
#include "envdefs.h"
#include "envDefs.h"
#include "osiProcess.h"
#define epicsExportSharedSymbols

View File

@@ -495,4 +495,5 @@ inline SOCKET tcpiiu::getSock () const
return this->sock;
}
#endif // ifdef virtualCircuith
#endif // ifdef virtualCircuith