]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test-exec-util: drop duplicate const
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 19 Apr 2017 20:32:52 +0000 (16:32 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 21 Apr 2017 16:05:55 +0000 (12:05 -0400)
gcc-7 warns about this with -Wduplicate-decl-specifier.

src/test/test-exec-util.c

index 482b0751b938519509b92e1136d289946b5f0e56..30c92019d910a52d908c5e17e96a5e5179cd8128 100644 (file)
@@ -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,