projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: add include guards to compat/path.h
[lttng-tools.git]
/
tests
/
unit
/
test_utils_expand_path.c
diff --git
a/tests/unit/test_utils_expand_path.c
b/tests/unit/test_utils_expand_path.c
index d72196404e1115f7c38cbd4b43ab394dbfe86480..e0cd366132b8184b7f4e8e362507cdd3f31660ac 100644
(file)
--- a/
tests/unit/test_utils_expand_path.c
+++ b/
tests/unit/test_utils_expand_path.c
@@
-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)
#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,
{
int i;
char *relative, *cur_path = NULL, *prev_path = NULL,
@@
-179,7
+179,7
@@
end:
return ret;
}
return ret;
}
-int free_valid_results(void)
+
static
int free_valid_results(void)
{
int i;
{
int i;
@@
-192,7
+192,7
@@
int free_valid_results(void)
return 0;
}
return 0;
}
-int prepare_symlink_tree(void)
+
static
int prepare_symlink_tree(void)
{
int i;
char tmppath[PATH_MAX] = {};
{
int i;
char tmppath[PATH_MAX] = {};
@@
-232,7
+232,7
@@
error:
return 1;
}
return 1;
}
-int free_symlink_tree(void)
+
static
int free_symlink_tree(void)
{
int i;
char tmppath[PATH_MAX];
{
int i;
char tmppath[PATH_MAX];
This page took
0.028291 seconds
and
5
git commands to generate.