Browse Source

style/cleanup

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-dnsrdata2@780 e5f2f494-b856-4b98-b285-d166d9295462
JINMEI Tatuya 15 years ago
parent
commit
2c586f07fd
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/lib/dns/cpp/rdata.h

+ 4 - 2
src/lib/dns/cpp/rdata.h

@@ -167,6 +167,9 @@ RdataPtr createRdata(const RRType& rrtype, const RRClass& rrclass,
 /// This function is publicly open, however, for the convenience of
 /// external developers who want to implement new or experimental RR types.
 ///
+/// This function never throws an exception as long as the given names are
+/// valid \c Name objects.
+///
 /// Additional note about applicability: In fact, BIND9's similar function,
 /// \c dns_name_rdatacompare(), is only used in rdata implementations and
 /// for testing purposes.
@@ -176,8 +179,7 @@ RdataPtr createRdata(const RRType& rrtype, const RRClass& rrclass,
 /// \return 0 if \c n1 is identical to \c n2 in terms of sorting order.
 /// \return 1 if \c n1 would be sorted after \c n2.
 ///
-int
-compareNames(const Name& n1, const Name& n2);
+int compareNames(const Name& n1, const Name& n2);
 
 } // end of namespace "rdata"
 }