lttng-ctl: health: remove unreachable condition
[lttng-tools.git] / tests / unit / test_directory_handle.c
index f3213cb74adbb16e0ac5c2a7d5c46780d66f91a5..8bc59e08169809bfc5773f2b89211ee3015d2b44 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <assert.h>
-#include <errno.h>
 #include <fcntl.h>
 #include <stdbool.h>
 #include <stdio.h>
@@ -17,6 +16,7 @@
 #include <unistd.h>
 
 #include <common/compat/directory-handle.h>
+#include <common/compat/errno.h>
 #include <common/error.h>
 #include <tap/tap.h>
 
@@ -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)
 {
This page took 0.024595 seconds and 4 git commands to generate.