diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-06-02 22:11:34 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-06-03 11:30:56 +0200 |
commit | 9b1c5610e00ea2de74086f5e86760238b5ad943c (patch) | |
tree | 4bd8bea1ae5b4ab52f370243599c927030375164 /src/test/test-exec-util.c | |
parent | test: tweak privilege tests for two more tests (diff) | |
download | systemd-9b1c5610e00ea2de74086f5e86760238b5ad943c.tar.xz systemd-9b1c5610e00ea2de74086f5e86760238b5ad943c.zip |
test: add a 'static' on a global variable we don't actually export
All global but not exported variables should be "static" in our
codebase, add "static" to one more such variable hence.
Diffstat (limited to 'src/test/test-exec-util.c')
-rw-r--r-- | src/test/test-exec-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-exec-util.c b/src/test/test-exec-util.c index e9e8e21040..4c11f54cef 100644 --- a/src/test/test-exec-util.c +++ b/src/test/test-exec-util.c @@ -22,7 +22,7 @@ #include "tests.h" static int here = 0, here2 = 0, here3 = 0; -void *ignore_stdout_args[] = {&here, &here2, &here3}; +static void *ignore_stdout_args[] = { &here, &here2, &here3 }; /* noop handlers, just check that arguments are passed correctly */ static int ignore_stdout_func(int fd, void *arg) { |