summaryrefslogtreecommitdiff
path: root/ace/ACE_crc_ccitt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/ACE_crc_ccitt.cpp')
-rw-r--r--ace/ACE_crc_ccitt.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/ace/ACE_crc_ccitt.cpp b/ace/ACE_crc_ccitt.cpp
index f591b53aa10..e81f3419831 100644
--- a/ace/ACE_crc_ccitt.cpp
+++ b/ace/ACE_crc_ccitt.cpp
@@ -71,9 +71,6 @@ namespace
#define COMPUTE(var, ch) (var) = (crc_table[(var ^ ch) & 0xFF] ^ (var >> 8))
-// Open versioned namespace, if enabled by the user.
-ACE_BEGIN_VERSIONED_NAMESPACE_DECL
-
ACE_UINT16
ACE::crc_ccitt (const char *string)
{
@@ -113,7 +110,7 @@ ACE::crc_ccitt (const iovec *iov, int len, ACE_UINT16 crc)
for (int i = 0; i < len; ++i)
{
for (const char *p = (const char *) iov[i].iov_base,
- *e = (const char *) iov[i].iov_base + iov[i].iov_len;
+ *e = (const char *) iov[i].iov_base + iov[i].iov_len;
p != e;
++p)
COMPUTE (crc, *p);
@@ -122,7 +119,4 @@ ACE::crc_ccitt (const iovec *iov, int len, ACE_UINT16 crc)
return ~crc;
}
-// Close versioned namespace, if enabled by the user.
-ACE_END_VERSIONED_NAMESPACE_DECL
-
#undef COMPUTE