Fixes:
CC test_uri.o
/home/smarchi/src/lttng-tools/tests/unit/test_uri.c:33:6: error: no previous declaration for ‘test_uri_parsing’ [-Werror=missing-declarations]
void test_uri_parsing(void)
^~~~~~~~~~~~~~~~
/home/smarchi/src/lttng-tools/tests/unit/test_uri.c:201:6: error: no previous declaration for ‘test_uri_cmp’ [-Werror=missing-declarations]
void test_uri_cmp()
^~~~~~~~~~~~
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Change-Id: Ia0d7b08a10ec9f8d3f6f2d5b4fa9c4f417827024
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
/* Number of TAP tests in this file */
#define NUM_TESTS 11
-void test_uri_parsing(void)
+static void test_uri_parsing(void)
{
ssize_t size;
const char *s_uri1;
assert(!uri);
}
-void test_uri_cmp()
+static void test_uri_cmp()
{
struct lttng_uri *uri1, *uri2;
const char *s_uri1 = "net://localhost";