diff options
Diffstat (limited to 'ace/LSOCK_CODgram.cpp')
-rw-r--r-- | ace/LSOCK_CODgram.cpp | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/ace/LSOCK_CODgram.cpp b/ace/LSOCK_CODgram.cpp index 17f80b9836f..4e58022b36c 100644 --- a/ace/LSOCK_CODgram.cpp +++ b/ace/LSOCK_CODgram.cpp @@ -1,3 +1,4 @@ +// LSOCK_CODgram.cpp // $Id$ #include "ace/LSOCK_CODgram.h" @@ -11,8 +12,6 @@ ACE_RCSID(ace, LSOCK_CODgram, "$Id$") #include "ace/LSOCK_CODgram.inl" #endif /* __ACE_INLINE__ */ -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - ACE_ALLOC_HOOK_DEFINE(ACE_LSOCK_CODgram) void @@ -32,13 +31,13 @@ ACE_LSOCK_CODgram::dump (void) const int ACE_LSOCK_CODgram::open (const ACE_Addr &remote, - const ACE_Addr &local, - int protocol_family, - int protocol) + const ACE_Addr &local, + int protocol_family, + int protocol) { ACE_TRACE ("ACE_LSOCK_CODgram::open"); if (ACE_SOCK_CODgram::open (remote, local, protocol_family, - protocol) == -1) + protocol) == -1) return -1; ACE_LSOCK::set_handle (this->get_handle ()); return 0; @@ -47,16 +46,13 @@ ACE_LSOCK_CODgram::open (const ACE_Addr &remote, /* Create a local ACE_SOCK datagram. */ ACE_LSOCK_CODgram::ACE_LSOCK_CODgram (const ACE_Addr &remote, - const ACE_Addr &local, - int protocol_family, - int protocol) + const ACE_Addr &local, + int protocol_family, + int protocol) { ACE_TRACE ("ACE_LSOCK_CODgram::ACE_LSOCK_CODgram"); if (this->open (remote, local, protocol_family, - protocol) == -1) + protocol) == -1) ACE_ERROR ((LM_ERROR, ACE_LIB_TEXT ("%p\n"), ACE_LIB_TEXT ("ACE_LSOCK_CODgram"))); } - -ACE_END_VERSIONED_NAMESPACE_DECL - #endif /* ACE_LACKS_UNIX_DOMAIN_SOCKETS */ |