From 72b0443813701fc9fb23cb23684a9c8bee4667a7 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Sat, 27 Apr 2019 17:03:50 -0400 Subject: [PATCH] Fix: headers: add missing end of `extern "C"` curly brackets (for C++) Signed-off-by: Philippe Proulx Change-Id: I5f6277ce3075f26bec6507b7b26977d33aea858f Reviewed-on: https://review.gerrithub.io/c/eepp/babeltrace/+/452301 Reviewed-by: Simon Marchi --- include/babeltrace/ctf-writer/utils.h | 4 ++++ include/babeltrace/util.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/include/babeltrace/ctf-writer/utils.h b/include/babeltrace/ctf-writer/utils.h index f58a21b0..f68e3ab5 100644 --- a/include/babeltrace/ctf-writer/utils.h +++ b/include/babeltrace/ctf-writer/utils.h @@ -43,4 +43,8 @@ int bt_ctf_validate_identifier(const char *identifier) return bt_ctf_identifier_is_valid(identifier) ? 1 : 0; } +#ifdef __cplusplus +} +#endif + #endif /* BABELTRACE_CTF_WRITER_UTILS_H */ diff --git a/include/babeltrace/util.h b/include/babeltrace/util.h index 2ac4684d..f251eda9 100644 --- a/include/babeltrace/util.h +++ b/include/babeltrace/util.h @@ -38,4 +38,8 @@ bt_util_status bt_util_clock_cycles_to_ns_from_origin(uint64_t cycles, uint64_t frequency, int64_t offset_seconds, uint64_t offset_cycles, int64_t *ns); +#ifdef __cplusplus +} +#endif + #endif /* BABELTRACE_UTIL_H */ -- 2.34.1