]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[v9_9]3481. [cleanup] removed use of const const in atf
authorCurtis Blackburn <ckb@isc.org>
Wed, 6 Feb 2013 20:36:26 +0000 (14:36 -0600)
committerCurtis Blackburn <ckb@isc.org>
Wed, 6 Feb 2013 23:49:16 +0000 (17:49 -0600)
(cherry picked from commit 0da7c95546ec1c76ca52f334a68dd69e4fa4dcde)

CHANGES
unit/atf-src/atf-c/macros_test.c

diff --git a/CHANGES b/CHANGES
index 15845d1cfa42e530bc11cf9c41c55b9d3b087033..4c395050c31886708c688358e9f2aeb1c3c029b7 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,5 @@
+3481.  [cleanup]       removed use of const const in atf
+
 3480.  [bug]           Silence logging noise when setting up zone
                        statistics. [RT #32525]
 
index b11b207da8b9b749f967b4f3489035f1322bd492..30c2946334dfe92b5b0f333aebbbdc7a1306ecb7 100644 (file)
@@ -442,8 +442,8 @@ H_CHECK_STREQ_MSG(2_1, "2", "1", "2 does not match 1");
 H_CHECK_STREQ_MSG(2_2, "2", "2", "2 does not match 2");
 #define CHECK_STREQ_VAR1 "5"
 #define CHECK_STREQ_VAR2 "9"
-const const char *check_streq_var1 = CHECK_STREQ_VAR1;
-const const char *check_streq_var2 = CHECK_STREQ_VAR2;
+const char *check_streq_var1 = CHECK_STREQ_VAR1;
+const char *check_streq_var2 = CHECK_STREQ_VAR2;
 H_CHECK_STREQ(vars, check_streq_var1, check_streq_var2);
 
 ATF_TC(check_streq);
@@ -630,8 +630,8 @@ H_REQUIRE_STREQ_MSG(2_1, "2", "1", "2 does not match 1");
 H_REQUIRE_STREQ_MSG(2_2, "2", "2", "2 does not match 2");
 #define REQUIRE_STREQ_VAR1 "5"
 #define REQUIRE_STREQ_VAR2 "9"
-const const char *require_streq_var1 = REQUIRE_STREQ_VAR1;
-const const char *require_streq_var2 = REQUIRE_STREQ_VAR2;
+const char *require_streq_var1 = REQUIRE_STREQ_VAR1;
+const char *require_streq_var2 = REQUIRE_STREQ_VAR2;
 H_REQUIRE_STREQ(vars, require_streq_var1, require_streq_var2);
 
 ATF_TC(require_streq);