commit 9f15d7eb0c9cf216f069d6972c58520013b80acb
Author:     Laslo Hunhold <[email protected]>
AuthorDate: Thu Sep 22 00:16:56 2022 +0200
Commit:     Laslo Hunhold <[email protected]>
CommitDate: Thu Sep 22 00:16:56 2022 +0200

    Declare test-arrays as static
    
    Signed-off-by: Laslo Hunhold <[email protected]>

diff --git a/test/case.c b/test/case.c
index 42439ff..6df3d90 100644
--- a/test/case.c
+++ b/test/case.c
@@ -20,7 +20,7 @@ struct unit_test_to_case_utf8 {
        } output;
 };
 
-struct unit_test_to_case_utf8 lowercase_utf8[] = {
+static struct unit_test_to_case_utf8 lowercase_utf8[] = {
        {
                .description = "empty input",
                .input =  { "", 0, 10 },
@@ -93,7 +93,7 @@ struct unit_test_to_case_utf8 lowercase_utf8[] = {
        },
 };
 
-struct unit_test_to_case_utf8 uppercase_utf8[] = {
+static struct unit_test_to_case_utf8 uppercase_utf8[] = {
        {
                .description = "empty input",
                .input =  { "", 0, 10 },
@@ -166,7 +166,7 @@ struct unit_test_to_case_utf8 uppercase_utf8[] = {
        },
 };
 
-struct unit_test_to_case_utf8 titlecase_utf8[] = {
+static struct unit_test_to_case_utf8 titlecase_utf8[] = {
        {
                .description = "empty input",
                .input =  { "", 0, 10 },

Reply via email to