fixed gnu warnings
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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 );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
#define epicsAssertAuthor "Jeff Hill johill@lanl.gov"
|
||||
|
||||
#include "envdefs.h"
|
||||
#include "envDefs.h"
|
||||
#include "osiProcess.h"
|
||||
|
||||
#define epicsExportSharedSymbols
|
||||
|
||||
@@ -495,4 +495,5 @@ inline SOCKET tcpiiu::getSock () const
|
||||
return this->sock;
|
||||
}
|
||||
|
||||
#endif // ifdef virtualCircuith
|
||||
#endif // ifdef virtualCircuith
|
||||
|
||||
|
||||
Reference in New Issue
Block a user