clang-tidy: add Chrome-inspired checks
[lttng-tools.git] / tests / regression / tools / notification / default_pipe_size_getter.cpp
index 8615f769f842292be3597a75d4719d78394bb5ed..34eb3cdd35fd514498f1169da196239d7d1c0ecb 100644 (file)
 #define _GNU_SOURCE
 #endif
 
-#include <unistd.h>
+#include <common/error.hpp>
+#include <common/pipe.hpp>
+
 #include <fcntl.h>
 #include <stdio.h>
 #include <stdlib.h>
-
-#include <common/pipe.hpp>
-#include <common/error.hpp>
+#include <unistd.h>
 
 int lttng_opt_verbose;
 int lttng_opt_mi;
@@ -30,7 +30,7 @@ namespace {
 /*
  * Return the default pipe buffer size or a negative error.
  */
-int get_pipe_size(void)
+int get_pipe_size()
 {
        int ret;
        /*
@@ -66,7 +66,7 @@ int get_pipe_size(void)
 #endif
 } /* namespace */
 
-int main(void)
+int main()
 {
        int ret;
 
This page took 0.02374 seconds and 4 git commands to generate.