Include <babeltrace/lib-logging-internal.h> before anything else
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Sat, 13 May 2017 22:54:01 +0000 (18:54 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 28 May 2017 16:57:43 +0000 (12:57 -0400)
This makes sure that headers which would need this to be included see
what it defines.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
lib/ctf-ir/attributes.c
lib/ctf-ir/clock-class.c
lib/ref.c
lib/values.c

index 2cd3a4bf63acfc4d8c169795654dbdec4fdcf911..9e605690187105dc0f3dad0efd2c189a37161d61 100644 (file)
  */
 
 #define BT_LOG_TAG "ATTRS"
+#include <babeltrace/lib-logging-internal.h>
 
 #include <babeltrace/babeltrace-internal.h>
 #include <babeltrace/values.h>
 #include <inttypes.h>
-#include <babeltrace/lib-logging-internal.h>
 
 #define BT_CTF_ATTR_NAME_INDEX         0
 #define BT_CTF_ATTR_VALUE_INDEX                1
index 4335d3b032448759df8eedc5eb75ed882c85d7d6..345b7b1677cd51fe11ebe08e2f4d3eac97f11762 100644 (file)
@@ -27,6 +27,7 @@
  */
 
 #define BT_LOG_TAG "CLOCK-CLASS"
+#include <babeltrace/lib-logging-internal.h>
 
 #include <babeltrace/ctf-ir/clock-class-internal.h>
 #include <babeltrace/ctf-ir/utils.h>
@@ -34,7 +35,6 @@
 #include <babeltrace/compiler-internal.h>
 #include <babeltrace/types.h>
 #include <inttypes.h>
-#include <babeltrace/lib-logging-internal.h>
 #include <babeltrace/object-internal.h>
 
 static
index bcef44f1d315b866ba7998804c8d7d8e12bc5210..d39a24d0c1bc5121f4082b5f3eb7ed039a4faae1 100644 (file)
--- a/lib/ref.c
+++ b/lib/ref.c
@@ -25,8 +25,8 @@
  */
 
 #define BT_LOG_TAG "REF"
-
 #include <babeltrace/lib-logging-internal.h>
+
 #include <babeltrace/ref-internal.h>
 #include <babeltrace/object-internal.h>
 
index 7497aea85b046cb01cbc874c3b3e49125d6c87c0..49b23caf7c41da6ba25dc45f4ff8c3fa70ca5667 100644 (file)
@@ -26,6 +26,7 @@
  */
 
 #define BT_LOG_TAG "VALUES"
+#include <babeltrace/lib-logging-internal.h>
 
 #include <stdlib.h>
 #include <string.h>
@@ -37,8 +38,6 @@
 #include <babeltrace/values.h>
 #include <babeltrace/compat/glib-internal.h>
 #include <babeltrace/types.h>
-
-#include <babeltrace/lib-logging-internal.h>
 #include <babeltrace/object-internal.h>
 
 #define BT_VALUE_FROM_CONCRETE(_concrete) ((struct bt_value *) (_concrete))
This page took 0.028081 seconds and 4 git commands to generate.