/*
- * Copyright (C) 2011 David Goulet <david.goulet@polymtl.ca>
+ * Copyright (C) 2011 EfficiOS Inc.
*
* SPDX-License-Identifier: GPL-2.0-only
*
#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>
#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[] =
trace_kernel_destroy_stream(stream);
}
-int main(int argc, char **argv)
+int main(void)
{
plan_tests(NUM_TESTS);