From: Simon Marchi Date: Wed, 25 Mar 2020 22:39:43 +0000 (-0400) Subject: Fix: tests: make some functions static X-Git-Tag: v2.13.0-rc1~708 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=f8e06d39e3e38ea73b0107a812678b136e9e369d;p=lttng-tools.git Fix: tests: make some functions static Make two functions static, they are only used in their respective file. Change-Id: I022dd064249683c9414ab36602e9645865373c51 Signed-off-by: Simon Marchi Signed-off-by: Jérémie Galarneau --- diff --git a/tests/unit/test_fd_tracker.c b/tests/unit/test_fd_tracker.c index 0de1729e6..2c5337fa0 100644 --- a/tests/unit/test_fd_tracker.c +++ b/tests/unit/test_fd_tracker.c @@ -54,6 +54,7 @@ const char file_contents[] = "Bacon ipsum dolor amet jerky drumstick sirloin " "Landjaeger tri-tip salami leberkas ball tip, ham hock chuck sausage " "flank jerky cupim. Pig bacon chuck pancetta andouille."; +static void get_temporary_directories(char **_test_directory, char **_unlink_directory) { int ret; diff --git a/tests/unit/test_utils_compat_poll.c b/tests/unit/test_utils_compat_poll.c index 41ff237d8..566ef21a0 100644 --- a/tests/unit/test_utils_compat_poll.c +++ b/tests/unit/test_utils_compat_poll.c @@ -55,6 +55,7 @@ int lttng_opt_mi; #define CLOE_VALUE FD_CLOEXEC #endif +static void test_epoll_compat(void) { /*