chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28f5f07
)
test-exec-util: drop duplicate const
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Wed, 19 Apr 2017 20:32:52 +0000
(16:32 -0400)
committer
Sven Eden
<yamakuzure@gmx.net>
Tue, 25 Jul 2017 07:46:51 +0000
(09:46 +0200)
gcc-7 warns about this with -Wduplicate-decl-specifier.
src/test/test-exec-util.c
patch
|
blob
|
history
diff --git
a/src/test/test-exec-util.c
b/src/test/test-exec-util.c
index 1520dd13ac2d84c25b1e291117bc8fc488fdfc4b..241e5237ce277e8e64fd88e2f2881df93d255a75 100644
(file)
--- 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,