summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-04-19 16:32:52 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-04-21 12:05:55 -0400
commit4fa3993be944d3bd10b7a4eca7648e1b22d09dad (patch)
tree96343faa35c28e2e38848897c3a0f09d848cf368
parent5224c2c7068ea538d2523ad033172450ccac147d (diff)
test-exec-util: drop duplicate const
gcc-7 warns about this with -Wduplicate-decl-specifier.
-rw-r--r--src/test/test-exec-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-exec-util.c b/src/test/test-exec-util.c
index 482b0751b9..30c92019d9 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,