X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Funit%2Ftest_directory_handle.c;h=8bc59e08169809bfc5773f2b89211ee3015d2b44;hb=6afbab01c56b1a634c7071e1e885759ac4fd0b7f;hp=f3213cb74adbb16e0ac5c2a7d5c46780d66f91a5;hpb=9d16b343fb9e781fc8d8fa3c448a3f382306dd33;p=lttng-tools.git diff --git a/tests/unit/test_directory_handle.c b/tests/unit/test_directory_handle.c index f3213cb74..8bc59e081 100644 --- a/tests/unit/test_directory_handle.c +++ b/tests/unit/test_directory_handle.c @@ -6,7 +6,6 @@ */ #include -#include #include #include #include @@ -17,6 +16,7 @@ #include #include +#include #include #include @@ -126,6 +126,7 @@ end: } /* Remove "file1" from the test folder hierarchy. */ +static int remove_file_from_hierarchy(struct lttng_directory_handle *test_dir_handle, const char *test_root_name) {