Clean-up: run format-cpp on the tree
[lttng-tools.git] / tests / regression / ust / linking / demo.c
index ca2c759caaa3b65271ecd489dbb18e045eda4704..43b0f641c4f4c8713806b55b822aca8768aa005c 100644 (file)
@@ -6,21 +6,21 @@
  *
  */
 
-#include <stdio.h>
-#include <unistd.h>
-#include <sys/mman.h>
-#include <stdarg.h>
-#include <sys/types.h>
-#include <sys/stat.h>
+#include <arpa/inet.h>
 #include <fcntl.h>
 #include <signal.h>
-#include <string.h>
-#include <arpa/inet.h>
+#include <stdarg.h>
+#include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
+#include <sys/mman.h>
+#include <sys/stat.h>
+#include <sys/types.h>
+#include <unistd.h>
 
 #define TRACEPOINT_DEFINE
 
-#if TEST_DYNAMIC_LINKAGE
+#ifdef TEST_DYNAMIC_LINKAGE
 #define TRACEPOINT_PROBE_DYNAMIC_LINKAGE
 #endif
 
@@ -48,8 +48,7 @@ int main(int argc, char **argv)
        tracepoint(ust_tests_demo, starting, 123);
        for (i = 0; i < 5; i++) {
                netint = htonl(i);
-               tracepoint(ust_tests_demo2, loop, i, netint, values,
-                          text, strlen(text), dbl, flt);
+               tracepoint(ust_tests_demo2, loop, i, netint, values, text, strlen(text), dbl, flt);
        }
        tracepoint(ust_tests_demo, done, 456);
        tracepoint(ust_tests_demo3, done, 42);
This page took 0.022796 seconds and 4 git commands to generate.