fixed inline is too big warning

This commit is contained in:
Jeff Hill
1998-10-23 19:47:12 +00:00
parent f91bfc1e1c
commit 1c214dc407
4 changed files with 40 additions and 30 deletions

View File

@@ -4,6 +4,9 @@
//
//
// $Log$
// Revision 1.14 1998/06/16 02:06:32 jhill
// lazy init sock lib when its a static build & recoverfrom select differences in winsock
//
// Revision 1.13 1998/05/29 20:22:44 jhill
// made hashing routine portable
//
@@ -413,3 +416,17 @@ epicsShareFunc fdReg *fdManager::lookUpFD(const SOCKET fd, const fdRegType type)
return this->fdTbl.lookup(id);
}
//
// fdReg::fdReg()
//
fdReg::fdReg (const SOCKET fdIn, const fdRegType typIn,
const unsigned onceOnlyIn) :
fdRegId(fdIn,typIn), state(fdrLimbo), onceOnly(onceOnlyIn)
{
if (!FD_IN_FDSET(fdIn)) {
fprintf (stderr, "%s: fd > FD_SETSIZE ignored\n",
__FILE__);
return;
}
fileDescriptorManager.installReg(*this);
}

View File

@@ -32,6 +32,9 @@
*
* History
* $Log$
* Revision 1.9 1998/06/16 02:04:07 jhill
* fixed spelling
*
* Revision 1.8 1998/02/05 21:12:10 jhill
* removed questionable inline
*
@@ -188,20 +191,5 @@ inline int fdManagerMaxInt (int a, int b)
}
}
//
// fdReg::fdReg()
//
inline fdReg::fdReg (const SOCKET fdIn, const fdRegType typIn,
const unsigned onceOnlyIn) :
fdRegId(fdIn,typIn), state(fdrLimbo), onceOnly(onceOnlyIn)
{
if (!FD_IN_FDSET(fdIn)) {
fprintf (stderr, "%s: fd > FD_SETSIZE ignored\n",
__FILE__);
return;
}
fileDescriptorManager.installReg(*this);
}
#endif // fdManagerH_included

View File

@@ -4,6 +4,9 @@
//
//
// $Log$
// Revision 1.14 1998/06/16 02:06:32 jhill
// lazy init sock lib when its a static build & recoverfrom select differences in winsock
//
// Revision 1.13 1998/05/29 20:22:44 jhill
// made hashing routine portable
//
@@ -413,3 +416,17 @@ epicsShareFunc fdReg *fdManager::lookUpFD(const SOCKET fd, const fdRegType type)
return this->fdTbl.lookup(id);
}
//
// fdReg::fdReg()
//
fdReg::fdReg (const SOCKET fdIn, const fdRegType typIn,
const unsigned onceOnlyIn) :
fdRegId(fdIn,typIn), state(fdrLimbo), onceOnly(onceOnlyIn)
{
if (!FD_IN_FDSET(fdIn)) {
fprintf (stderr, "%s: fd > FD_SETSIZE ignored\n",
__FILE__);
return;
}
fileDescriptorManager.installReg(*this);
}

View File

@@ -32,6 +32,9 @@
*
* History
* $Log$
* Revision 1.9 1998/06/16 02:04:07 jhill
* fixed spelling
*
* Revision 1.8 1998/02/05 21:12:10 jhill
* removed questionable inline
*
@@ -188,20 +191,5 @@ inline int fdManagerMaxInt (int a, int b)
}
}
//
// fdReg::fdReg()
//
inline fdReg::fdReg (const SOCKET fdIn, const fdRegType typIn,
const unsigned onceOnlyIn) :
fdRegId(fdIn,typIn), state(fdrLimbo), onceOnly(onceOnlyIn)
{
if (!FD_IN_FDSET(fdIn)) {
fprintf (stderr, "%s: fd > FD_SETSIZE ignored\n",
__FILE__);
return;
}
fileDescriptorManager.installReg(*this);
}
#endif // fdManagerH_included