inline declarations for ConnectionWriter:: get_cw() && get_qcr() should be protected behind #ifdef HAVE_NSPR also

This commit is contained in:
Joseph Lee 2004-07-09 23:51:35 +00:00
parent 316e4e29a1
commit 76474cdea9

View File

@ -92,6 +92,7 @@ INLINE ConnectionWriter &CConnectionRepository::
get_cw() { get_cw() {
return _cw; return _cw;
} }
INLINE ConnectionWriter &get_cw();
#endif // HAVE_NSPR #endif // HAVE_NSPR
#ifdef HAVE_NSPR #ifdef HAVE_NSPR
@ -105,10 +106,8 @@ INLINE QueuedConnectionReader &CConnectionRepository::
get_qcr() { get_qcr() {
return _qcr; return _qcr;
} }
#endif // HAVE_NSPR
INLINE ConnectionWriter &get_cw();
INLINE QueuedConnectionReader &get_qcr(); INLINE QueuedConnectionReader &get_qcr();
#endif // HAVE_NSPR
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
// Function: CConnectionRepository::get_datagram // Function: CConnectionRepository::get_datagram