.gitignore: ignore local vscode workspace settings file
[lttng-tools.git] / tests / utils / testapp / gen-ust-tracef / gen-ust-tracef.cpp
index f0f6cc63c372465363bda2b453c466d810580f3f..8389b3f76b26f768502c982a21ee775e2d0374da 100644 (file)
@@ -7,6 +7,12 @@
  */
 
 #define _LGPL_SOURCE
+#include "signal-helper.hpp"
+
+#include <common/macros.hpp>
+
+#include <lttng/tracef.h>
+
 #include <fcntl.h>
 #include <stdarg.h>
 #include <stdio.h>
 #include <sys/types.h>
 #include <unistd.h>
 
-#include <common/macros.h>
-#include <lttng/tracef.h>
-#include "signal-helper.h"
-
 const char *str = "test string";
 
-static
-void create_file(const char *path)
+static void create_file(const char *path)
 {
        int ret;
 
@@ -44,7 +45,7 @@ int main(int argc, char **argv)
        int i;
        unsigned int nr_iter = 100;
        useconds_t nr_usec = 0;
-       char *tmp_file_path = NULL;
+       char *tmp_file_path = nullptr;
 
        if (set_signal_handler()) {
                return 1;
This page took 0.024748 seconds and 4 git commands to generate.