From 128cedaa06a84c78e93d8812d70e1a3696d53585 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Wed, 7 Mar 2001 16:16:43 +0000 Subject: [PATCH] reformat --- src/ca/inetAddrID_IL.h | 8 ++++---- src/ca/iocinf.cpp | 15 ++++++++------- src/ca/msgForMultiplyDefinedPV.cpp | 6 +++--- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/src/ca/inetAddrID_IL.h b/src/ca/inetAddrID_IL.h index 9bb8dc3d9..76339996d 100644 --- a/src/ca/inetAddrID_IL.h +++ b/src/ca/inetAddrID_IL.h @@ -10,15 +10,15 @@ * Author: Jeff Hill */ -inline inetAddrID::inetAddrID (const struct sockaddr_in &addrIn) : +inline inetAddrID::inetAddrID ( const struct sockaddr_in &addrIn ) : addr (addrIn) { } -inline bool inetAddrID::operator == (const inetAddrID &rhs) const +inline bool inetAddrID::operator == ( const inetAddrID &rhs ) const { - if (this->addr.sin_addr.s_addr == rhs.addr.sin_addr.s_addr) { - if (this->addr.sin_port == rhs.addr.sin_port) { + if ( this->addr.sin_addr.s_addr == rhs.addr.sin_addr.s_addr ) { + if ( this->addr.sin_port == rhs.addr.sin_port ) { return true; } } diff --git a/src/ca/iocinf.cpp b/src/ca/iocinf.cpp index 8d582b4ff..1498c8230 100644 --- a/src/ca/iocinf.cpp +++ b/src/ca/iocinf.cpp @@ -1,4 +1,5 @@ -/* * $Id$ +/* + * $Id$ * * L O S A L A M O S * Los Alamos National Laboratory @@ -17,7 +18,7 @@ /* * getToken() */ -static char *getToken (const char **ppString, char *pBuf, unsigned bufSIze) +static char *getToken ( const char **ppString, char *pBuf, unsigned bufSIze ) { const char *pToken; unsigned i; @@ -27,8 +28,8 @@ static char *getToken (const char **ppString, char *pBuf, unsigned bufSIze) pToken++; } - for (i=0u; i msgForMultiplyDefinedPV::freeList; +epicsMutex msgForMultiplyDefinedPV::freeListMutex; msgForMultiplyDefinedPV::msgForMultiplyDefinedPV ( - cac &cacRefIn, const char *pChannelName, const char *pAcc, + cac &cacRefIn, const char *pChannelName, const char *pAcc, const osiSockAddr &rej ) : - ipAddrToAsciiAsynchronous ( rej ), - cacRef ( cacRefIn ) + ipAddrToAsciiAsynchronous ( rej ), cacRef ( cacRefIn ) { strncpy ( this->acc, pAcc, sizeof ( this->acc ) ); this->acc[ sizeof ( this->acc ) - 1 ] = '\0';