summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-03-20 17:37:10 +0100
committerJakub Hrozek <jhrozek@redhat.com>2013-03-21 17:41:42 +0100
commit00181f32b25d4050d7d4769def31b609a098fd2f (patch)
treecb80703a3ff8d2186d4dc28d7513b058a99bf833
parent0fcdef99980260d2da308c2c26861492ab983e3d (diff)
downloadsssd-00181f32b25d4050d7d4769def31b609a098fd2f.tar.gz
sssd-00181f32b25d4050d7d4769def31b609a098fd2f.tar.xz
sssd-00181f32b25d4050d7d4769def31b609a098fd2f.zip
Fixing duplicate const
const char const * --> const char *const
-rw-r--r--src/tests/sysdb-tests.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/sysdb-tests.c b/src/tests/sysdb-tests.c
index d0e64e20e..765fd09ae 100644
--- a/src/tests/sysdb-tests.c
+++ b/src/tests/sysdb-tests.c
@@ -4475,8 +4475,8 @@ START_TEST(test_sysdb_subdomain_create)
{
struct sysdb_test_ctx *test_ctx;
errno_t ret;
- const char const *dom1[4] = { "dom1.sub", "DOM1.SUB", "dom1", "S-1" };
- const char const *dom2[4] = { "dom2.sub", "DOM2.SUB", "dom2", "S-2" };
+ const char *const dom1[4] = { "dom1.sub", "DOM1.SUB", "dom1", "S-1" };
+ const char *const dom2[4] = { "dom2.sub", "DOM2.SUB", "dom2", "S-2" };
ret = setup_sysdb_tests(&test_ctx);
fail_if(ret != EOK, "Could not set up the test");
@@ -4521,7 +4521,7 @@ START_TEST(test_sysdb_subdomain_create)
}
END_TEST
-const char const *testdom[4] = { "test.sub", "TEST.SUB", "test", "S-3" };
+const char *const testdom[4] = { "test.sub", "TEST.SUB", "test", "S-3" };
START_TEST(test_sysdb_subdomain_store_user)
{