diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2005-10-28 16:14:56 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2005-10-28 16:14:56 +0000 |
commit | 2aa4f50f829476ae276ba391127cc7266f603c96 (patch) | |
tree | c4fe2b70acf02ce19d199713fff6dec5645d8a93 /ace/OS_NS_netdb.cpp | |
parent | 28934d0116426fa37e2a562cfa0d95fa34241051 (diff) | |
download | ATCD-2aa4f50f829476ae276ba391127cc7266f603c96.tar.gz |
ChangeLogTag:Fri Oct 28 00:01:06 2005 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'ace/OS_NS_netdb.cpp')
-rw-r--r-- | ace/OS_NS_netdb.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/ace/OS_NS_netdb.cpp b/ace/OS_NS_netdb.cpp index 163c33208b4..497f2924789 100644 --- a/ace/OS_NS_netdb.cpp +++ b/ace/OS_NS_netdb.cpp @@ -17,6 +17,8 @@ ACE_RCSID(ace, OS_NS_netdb, "$Id$") #include "ace/OS_NS_stropts.h" #include "ace/OS_NS_sys_socket.h" +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + #if defined (VXWORKS) struct hostent * @@ -307,14 +309,14 @@ ACE_OS::getmacaddress (struct macaddr_node_t *node) (struct sockaddr_in *)&(ar.arp_pa); ACE_OS::memset (&ar, - 0, - sizeof (struct arpreq)); + 0, + sizeof (struct arpreq)); psa->sin_family = AF_INET; ACE_OS::memcpy (&(psa->sin_addr), - *paddrs, - sizeof (struct in_addr)); + *paddrs, + sizeof (struct in_addr)); if (ACE_OS::ioctl (handle, SIOCGARP, @@ -386,3 +388,5 @@ ACE_OS::netdb_release (void) ACE_OS_Object_Manager::ACE_OS_MONITOR_LOCK]); } # endif /* defined (ACE_LACKS_NETDB_REENTRANT_FUNCTIONS) */ + +ACE_END_VERSIONED_NAMESPACE_DECL |