tests: make functions static in test_utils_expand_path.c
[lttng-tools.git] / tests / unit / test_utils_expand_path.c
index d72196404e1115f7c38cbd4b43ab394dbfe86480..e0cd366132b8184b7f4e8e362507cdd3f31660ac 100644 (file)
@@ -123,7 +123,7 @@ static const int num_invalid_tests =
 #define PRINT_ERR(fmt, args...)                                                \
        fprintf(stderr, "test_utils_expand_path: error: " fmt "\n", ## args)
 
-int prepare_valid_results(void)
+static int prepare_valid_results(void)
 {
        int i;
        char *relative, *cur_path = NULL, *prev_path = NULL,
@@ -179,7 +179,7 @@ end:
        return ret;
 }
 
-int free_valid_results(void)
+static int free_valid_results(void)
 {
        int i;
 
@@ -192,7 +192,7 @@ int free_valid_results(void)
        return 0;
 }
 
-int prepare_symlink_tree(void)
+static int prepare_symlink_tree(void)
 {
        int i;
        char tmppath[PATH_MAX] = {};
@@ -232,7 +232,7 @@ error:
        return 1;
 }
 
-int free_symlink_tree(void)
+static int free_symlink_tree(void)
 {
        int i;
        char tmppath[PATH_MAX];
This page took 0.03102 seconds and 4 git commands to generate.