Clean-up: replace uses of `int enabled` with boolean flags
[lttng-tools.git] / tests / unit / test_unix_socket.cpp
index 2c23b669c2d800bf35e7b528b0e346f3bc0ef1a5..ea02c2ec2700ddcebc3b42f810fea9b7ab5b6a9a 100644 (file)
@@ -27,7 +27,7 @@
 
 #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;
@@ -486,7 +486,7 @@ error:
        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;
@@ -651,7 +651,7 @@ error:
        }
 }
 
-int main(void)
+int main()
 {
        plan_tests(TEST_COUNT);
 
This page took 0.022955 seconds and 4 git commands to generate.