src/plugins/ctf/common: restructure subtree
[babeltrace.git] / src / plugins / ctf / common / print.hpp
diff --git a/src/plugins/ctf/common/print.hpp b/src/plugins/ctf/common/print.hpp
deleted file mode 100644 (file)
index 7db4dde..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * SPDX-License-Identifier: MIT
- *
- * Copyright (c) 2016 Philippe Proulx <pproulx@efficios.com>
- *
- * Define PRINT_PREFIX and PRINT_ERR_STREAM, then include this file.
- */
-
-#ifndef CTF_BTR_PRINT_H
-#define CTF_BTR_PRINT_H
-
-#include <stdio.h>
-
-#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 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.02425 seconds and 4 git commands to generate.