*
*/
-#include <common/compat/fcntl.hpp>
#include <common/defaults.hpp>
#include <common/error.hpp>
#include <common/payload-view.hpp>
#include <lttng/constant.h>
#include <algorithm>
+#include <fcntl.h>
#include <pthread.h>
#include <stdbool.h>
#include <stdio.h>
#define HIGH_FD_COUNT LTTCOMM_MAX_SEND_FDS
#define MESSAGE_COUNT 4
-#define LARGE_PAYLOAD_SIZE 4 * 1024
+#define LARGE_PAYLOAD_SIZE (4 * 1024)
#define LARGE_PAYLOAD_RECV_SIZE 100
static const int TEST_COUNT = 37;
lttng_payload_reset(&received_payload);
}
-static void test_creds_passing(void)
+static void test_creds_passing()
{
pid_t fork_ret = -1;
int ret, parent_socket = -1, child_connection_socket = -1;
}
}
-int main(void)
+int main()
{
plan_tests(TEST_COUNT);