Rename C++ header files to .hpp
[lttng-tools.git] / tests / unit / test_kernel_data.cpp
index 79489e3d3324651d0ac766d8ad86e611db215dcb..eae335be205026b0abd549cf166cf342d32b40aa 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2011 David Goulet <david.goulet@polymtl.ca>
+ * Copyright (C) 2011 EfficiOS Inc.
  *
  * SPDX-License-Identifier: GPL-2.0-only
  *
@@ -11,9 +11,9 @@
 #include <unistd.h>
 #include <time.h>
 
-#include <common/compat/errno.h>
-#include <bin/lttng-sessiond/trace-kernel.h>
-#include <common/defaults.h>
+#include <common/compat/errno.hpp>
+#include <bin/lttng-sessiond/trace-kernel.hpp>
+#include <common/defaults.hpp>
 
 #include <tap/tap.h>
 
@@ -23,8 +23,9 @@
 #define NUM_TESTS 11
 
 #ifdef HAVE_LIBLTTNG_UST_CTL
+#include <lttng/lttng-export.h>
 #include <lttng/ust-sigbus.h>
-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);
 
This page took 0.023228 seconds and 4 git commands to generate.