summaryrefslogtreecommitdiffstats
path: root/src/test/test-process-util.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-12-07 12:52:58 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-12-15 22:50:00 +0100
commitaf3b864d76cf916a026b7877099791811b348fdf (patch)
tree40db7161280edc4dcc24b8a0cd20514f45a3ea1f /src/test/test-process-util.c
parenttree-wide: make FOREACH_DIRENT_ALL define the iterator variable (diff)
downloadsystemd-af3b864d76cf916a026b7877099791811b348fdf.tar.xz
systemd-af3b864d76cf916a026b7877099791811b348fdf.zip
Define FOREACH_DIRENT through FOREACH_DIRENT_ALL
As in the previous commit, 'de' is used as the iterator variable name.
Diffstat (limited to 'src/test/test-process-util.c')
-rw-r--r--src/test/test-process-util.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/test/test-process-util.c b/src/test/test-process-util.c
index ab093a7457..06a640b1cc 100644
--- a/src/test/test-process-util.c
+++ b/src/test/test-process-util.c
@@ -135,7 +135,6 @@ static void test_get_process_cmdline_one(pid_t pid) {
TEST(get_process_cmdline) {
_cleanup_closedir_ DIR *d = NULL;
- struct dirent *de;
assert_se(d = opendir("/proc"));