summaryrefslogtreecommitdiff
path: root/ace/SOCK.inl
diff options
context:
space:
mode:
Diffstat (limited to 'ace/SOCK.inl')
-rw-r--r--ace/SOCK.inl25
1 files changed, 11 insertions, 14 deletions
diff --git a/ace/SOCK.inl b/ace/SOCK.inl
index c57fa36dfec..f35fda782d1 100644
--- a/ace/SOCK.inl
+++ b/ace/SOCK.inl
@@ -1,10 +1,9 @@
-// -*- C++ -*-
-//
+/* -*- C++ -*- */
// $Id$
-#include "ace/OS_NS_sys_socket.h"
+// SOCK.i
-ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+#include "ace/OS_NS_sys_socket.h"
ACE_INLINE
ACE_SOCK::~ACE_SOCK (void)
@@ -14,26 +13,24 @@ ACE_SOCK::~ACE_SOCK (void)
ACE_INLINE int
ACE_SOCK::set_option (int level,
- int option,
- void *optval,
- int optlen) const
+ int option,
+ void *optval,
+ int optlen) const
{
ACE_TRACE ("ACE_SOCK::set_option");
return ACE_OS::setsockopt (this->get_handle (), level,
- option, (char *) optval, optlen);
+ option, (char *) optval, optlen);
}
// Provides access to the ACE_OS::getsockopt system call.
ACE_INLINE int
ACE_SOCK::get_option (int level,
- int option,
- void *optval,
- int *optlen) const
+ int option,
+ void *optval,
+ int *optlen) const
{
ACE_TRACE ("ACE_SOCK::get_option");
return ACE_OS::getsockopt (this->get_handle (), level,
- option, (char *) optval, optlen);
+ option, (char *) optval, optlen);
}
-
-ACE_END_VERSIONED_NAMESPACE_DECL