Re-format new C++ files
[babeltrace.git] / src / plugins / ctf / common / print.hpp
index a2f744e50f3d263f74b42068c28b07285018bee7..90c8d409127df1104d53f721bfc4ba2823638a3c 100644 (file)
 #include <stdio.h>
 #include "common/macros.h"
 
-#define PERR(fmt, ...)                                                 \
-       do {                                                            \
-               if (PRINT_ERR_STREAM) {                                 \
-                       fprintf(PRINT_ERR_STREAM,                       \
-                               "Error: " PRINT_PREFIX ": " fmt,        \
-                               ##__VA_ARGS__);                         \
-               }                                                       \
-       } while (0)
+#define PERR(fmt, ...)                                                                             \
+    do {                                                                                           \
+        if (PRINT_ERR_STREAM) {                                                                    \
+            fprintf(PRINT_ERR_STREAM, "Error: " PRINT_PREFIX ": " fmt, ##__VA_ARGS__);             \
+        }                                                                                          \
+    } while (0)
 
-#define PWARN(fmt, ...)                                                        \
-       do {                                                            \
-               if (PRINT_ERR_STREAM) {                                 \
-                       fprintf(PRINT_ERR_STREAM,                       \
-                               "Warning: " PRINT_PREFIX ": " fmt,      \
-                               ##__VA_ARGS__);                         \
-               }                                                       \
-       } while (0)
+#define PWARN(fmt, ...)                                                                            \
+    do {                                                                                           \
+        if (PRINT_ERR_STREAM) {                                                                    \
+            fprintf(PRINT_ERR_STREAM, "Warning: " PRINT_PREFIX ": " fmt, ##__VA_ARGS__);           \
+        }                                                                                          \
+    } while (0)
 
-#define PDBG(fmt, ...)                                                 \
-       do {                                                            \
-               if (babeltrace_debug) {                                 \
-                       fprintf(stderr,                                 \
-                               "Debug: " PRINT_PREFIX ": " fmt,        \
-                               ##__VA_ARGS__);                         \
-               }                                                       \
-       } while (0)
+#define PDBG(fmt, ...)                                                                             \
+    do {                                                                                           \
+        if (babeltrace_debug) {                                                                    \
+            fprintf(stderr, "Debug: " PRINT_PREFIX ": " fmt, ##__VA_ARGS__);                       \
+        }                                                                                          \
+    } while (0)
 
 #endif /* CTF_BTR_PRINT_H */
This page took 0.023804 seconds and 4 git commands to generate.