X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Funit%2Ftest_kernel_data.cpp;h=eae335be205026b0abd549cf166cf342d32b40aa;hb=cc22de985fbd6c192a021063fc3be165dd6fa5c0;hp=79489e3d3324651d0ac766d8ad86e611db215dcb;hpb=7966af5763c4aaca39df9bbfa9277ff15715c720;p=lttng-tools.git diff --git a/tests/unit/test_kernel_data.cpp b/tests/unit/test_kernel_data.cpp index 79489e3d3..eae335be2 100644 --- a/tests/unit/test_kernel_data.cpp +++ b/tests/unit/test_kernel_data.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011 David Goulet + * Copyright (C) 2011 EfficiOS Inc. * * SPDX-License-Identifier: GPL-2.0-only * @@ -11,9 +11,9 @@ #include #include -#include -#include -#include +#include +#include +#include #include @@ -23,8 +23,9 @@ #define NUM_TESTS 11 #ifdef HAVE_LIBLTTNG_UST_CTL +#include #include -DEFINE_LTTNG_UST_SIGBUS_STATE(); +LTTNG_EXPORT DEFINE_LTTNG_UST_SIGBUS_STATE(); #endif static const char alphanum[] = @@ -178,7 +179,7 @@ static void test_create_kernel_stream(void) trace_kernel_destroy_stream(stream); } -int main(int argc, char **argv) +int main(void) { plan_tests(NUM_TESTS);