From: JINMEI Tatuya Date: Fri, 9 Mar 2012 06:45:46 +0000 (-0800) Subject: [1603] cleanup: removed unnecessary declaration of maptolower from name.h. X-Git-Tag: trac2351_base~226^2~116^2~121^2~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1389eb8fa945be3ffd35d0daff3bcbf17da15549;p=thirdparty%2Fkea.git [1603] cleanup: removed unnecessary declaration of maptolower from name.h. the one declared in name_internal.h is now also used by MessageRenderer, too, so updated the comment accordingly. --- diff --git a/src/lib/dns/name.h b/src/lib/dns/name.h index 675c0db23a..ca64d69a33 100644 --- a/src/lib/dns/name.h +++ b/src/lib/dns/name.h @@ -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. /// diff --git a/src/lib/dns/name_internal.h b/src/lib/dns/name_internal.h index 5c7d698643..143ecb3c9d 100644 --- a/src/lib/dns/name_internal.h +++ b/src/lib/dns/name_internal.h @@ -16,10 +16,11 @@ #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 {