]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1603] cleanup: removed unnecessary declaration of maptolower from name.h.
authorJINMEI Tatuya <jinmei@isc.org>
Fri, 9 Mar 2012 06:45:46 +0000 (22:45 -0800)
committerJINMEI Tatuya <jinmei@isc.org>
Fri, 9 Mar 2012 06:45:46 +0000 (22:45 -0800)
the one declared in name_internal.h is now also used by MessageRenderer, too,
so updated the comment accordingly.

src/lib/dns/name.h
src/lib/dns/name_internal.h

index 675c0db23a312a32607e62105eafe58983252d58..ca64d69a33233119a391436758f2bcdbb249b2c1 100644 (file)
@@ -166,15 +166,6 @@ private:
     NameRelation relation_;
 };
 
-// This is effectively a "private" namespace, but exposed publicly so the
-// definitions in it can be shared with the LabelSequence class.  It's not
-// expected to be used
-namespace name {
-namespace internal {
-extern const unsigned char maptolower[];
-}
-}
-
 ///
 /// The \c Name class encapsulates DNS names.
 ///
index 5c7d698643f51c24dc2feb2e758495f0f6549c26..143ecb3c9db74500cc2d14c59d4a39c86e06851f 100644 (file)
 #define __NAME_INTERNAL_H 1
 
 // This is effectively a "private" namespace for the Name class implementation,
-// but exposed publicly so the definitions in it can be shared with the
-// LabelSequence class.  It's not expected to be used even by other modules
-// of this library, much less by normal applications.  This header file is
-// therefore not expected to be installed as part of the library.
+// but exposed publicly so the definitions in it can be shared with other
+// modules of the library (as of its introduction, used by LabelSequence and
+// MessageRenderer).  It's not expected to be used even by normal applications.
+// This header file is therefore not expected to be installed as part of the
+// library.
 namespace isc {
 namespace dns {
 namespace name {