From: Zbigniew Jędrzejewski-Szmek Date: Wed, 19 Apr 2017 20:32:52 +0000 (-0400) Subject: test-exec-util: drop duplicate const X-Git-Tag: chiark/234.4-1+devuan1.1+iwj1~162 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=f38f1736cfb535a245bd894d28e08ed29cd50f28 test-exec-util: drop duplicate const gcc-7 warns about this with -Wduplicate-decl-specifier. --- diff --git a/src/test/test-exec-util.c b/src/test/test-exec-util.c index 1520dd13a..241e5237c 100644 --- a/src/test/test-exec-util.c +++ b/src/test/test-exec-util.c @@ -223,7 +223,7 @@ static int gather_stdout_three(int fd, void *arg) { return 0; } -const gather_stdout_callback_t const gather_stdout[] = { +const gather_stdout_callback_t gather_stdout[] = { gather_stdout_one, gather_stdout_two, gather_stdout_three,