]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2357] additional __ fixes
authorJelte Jansen <jelte@isc.org>
Thu, 25 Oct 2012 16:13:52 +0000 (18:13 +0200)
committerJelte Jansen <jelte@isc.org>
Thu, 25 Oct 2012 16:13:52 +0000 (18:13 +0200)
in generator for rdataclass.h, and updated a doxygen comment

src/lib/dns/gen-rdatacode.py.in
src/lib/log/compiler/message.cc

index f3cd5df81a4fa39129b99bc4b81d2835090f9b09..e51dfc5b28da9a8b7c9ece6b6853591fffcb10f2 100755 (executable)
@@ -74,7 +74,7 @@ def import_classheader(class_txt, type_txt, type_code, file):
     # for each CLASS_n/TYPE_m.h
     rdata_header = open(file, 'r')
     content = ''
-    guard_macro = '__' + class_txt.upper() + '_' + type_txt.upper()
+    guard_macro = class_txt.upper() + '_' + type_txt.upper()
     guard_macro += '_' + type_code + '_H'
     for line in rdata_header.readlines():
         if re.match('// BEGIN_HEADER_GUARD', line):
index 990b127cf29f716688dc306a7d17843889ea165c..7bff8bde497fed42b3dcf27be5f05a4711c58c22 100644 (file)
@@ -122,7 +122,7 @@ currentTime() {
 /// \brief Create Header Sentinel
 ///
 /// Given the name of a file, create an \#ifdef sentinel name.  The name is
-/// __<name>_<ext>, where &lt;name&gt; is the name of the file, and &lt;ext&gt;
+/// <name>_<ext>, where &lt;name&gt; is the name of the file, and &lt;ext&gt;
 /// is the extension less the leading period.  The sentinel will be upper-case.
 ///
 /// \param file Filename object representing the file.