libgrapheme

Freestanding C library for unicode string handling
git clone https://git.sinitax.com/suckless/libgrapheme
Log | Files | Refs | README | LICENSE | sfeed.txt

commit 9f15d7eb0c9cf216f069d6972c58520013b80acb
parent 9c926f112553481fae101b692f8add2998aeeaaf
Author: Laslo Hunhold <dev@frign.de>
Date:   Thu, 22 Sep 2022 00:16:56 +0200

Declare test-arrays as static

Signed-off-by: Laslo Hunhold <dev@frign.de>

Diffstat:
Mtest/case.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 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 },