From f2371a94ac704928244e9feb22888abf8df54a1c Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Fri, 14 Jun 2019 17:08:08 -0400 Subject: [PATCH] Rename: -> "some/internal-header.h" Signed-off-by: Philippe Proulx Change-Id: Icad3fb88de3c5c2e6658c44dc00ece97cb1096b8 Reviewed-on: https://review.lttng.org/c/babeltrace/+/1440 Tested-by: jenkins Reviewed-by: Francis Deslauriers --- src/ctf-writer/assert-pre.h | 18 ++++++++---------- src/lib/assert-pre.h | 16 +++++++--------- src/lib/trace-ir/event.h | 2 +- 3 files changed, 16 insertions(+), 20 deletions(-) diff --git a/src/ctf-writer/assert-pre.h b/src/ctf-writer/assert-pre.h index 5811d7d4..0291190d 100644 --- a/src/ctf-writer/assert-pre.h +++ b/src/ctf-writer/assert-pre.h @@ -25,20 +25,18 @@ */ /* - * The macros in this header use macros defined in - * . We don't want this header to - * automatically include because you - * need to manually define BT_LOG_TAG before including - * and it is unexpected that you - * also need to define it before including this header. + * The macros in this header use macros defined in "logging/log.h". We + * don't want this header to automatically include "logging/log.h" + * because you need to manually define BT_LOG_TAG before including + * "logging/log.h" and it is unexpected that you also need to define it + * before including this header. * - * This is a reminder that in order to use - * , you also need to use logging - * explicitly. + * This is a reminder that in order to use "ctf-writer/assert-pre.h", + * you also need to use logging explicitly. */ #ifndef BABELTRACE_LOGGING_INTERNAL_H -# error Include before this header. +# error Include "logging/log.h" before this header. #endif #include diff --git a/src/lib/assert-pre.h b/src/lib/assert-pre.h index c28ec4c4..7636b56a 100644 --- a/src/lib/assert-pre.h +++ b/src/lib/assert-pre.h @@ -25,20 +25,18 @@ */ /* - * The macros in this header use macros defined in - * . We don't want this header to - * automatically include because you - * need to manually define BT_LOG_TAG before including - * and it is unexpected that you + * The macros in this header use macros defined in "lib/lib-logging.h". + * We don't want this header to automatically include + * "lib/lib-logging.h" because you need to manually define BT_LOG_TAG + * before including "lib/lib-logging.h" and it is unexpected that you * also need to define it before including this header. * - * This is a reminder that in order to use - * , you also need to use logging - * explicitly. + * This is a reminder that in order to use "lib/assert-pre.h", you also + * need to use logging explicitly. */ #ifndef BABELTRACE_LIB_LOGGING_INTERNAL_H -# error Include before this header. +# error Include "lib/lib-logging.h" before this header. #endif #include diff --git a/src/lib/trace-ir/event.h b/src/lib/trace-ir/event.h index 7b5c2544..e1d3e441 100644 --- a/src/lib/trace-ir/event.h +++ b/src/lib/trace-ir/event.h @@ -26,7 +26,7 @@ /* Protection: this file uses BT_LIB_LOG*() macros directly */ #ifndef BABELTRACE_LIB_LOGGING_INTERNAL_H -# error Please include before including this file. +# error Please include "lib/lib-logging.h" before including this file. #endif #include "lib/assert-pre.h" -- 2.34.1