From: Zbigniew Jędrzejewski-Szmek Date: Fri, 5 Apr 2013 04:31:59 +0000 (-0400) Subject: test-strv: do not declare table to be sorted const X-Git-Tag: v201~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e64bbc15671db861c811bdf63014eee826a6eca;p=thirdparty%2Fsystemd.git test-strv: do not declare table to be sorted const Segmentation fault under clang. --- diff --git a/src/test/test-strv.c b/src/test/test-strv.c index 2a1c0057ceb..074e1bb3d41 100644 --- a/src/test/test-strv.c +++ b/src/test/test-strv.c @@ -161,7 +161,7 @@ static void test_strv_overlap(void) { } static void test_strv_sort(void) { - const char * const input_table[] = { + const char* input_table[] = { "durian", "apple", "citrus",