From 0e82e6bc5f164e78bc83d3f042fbe21cb09838e5 Mon Sep 17 00:00:00 2001 From: Erica Bugden Date: Wed, 21 Aug 2024 15:12:28 -0400 Subject: [PATCH] fd-cache: cleanup includes This include file uses `GHashTable`, so include `glib.h`. clangd reports `common/macros.h` as being unused, remove it. Change-Id: I64665841559a70d7bf28ddb27a58b7c3ba2bfb43 Signed-off-by: Erica Bugden Reviewed-on: https://review.lttng.org/c/babeltrace/+/13226 Reviewed-by: Simon Marchi --- src/fd-cache/fd-cache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fd-cache/fd-cache.h b/src/fd-cache/fd-cache.h index 6d1e4c10..a3593381 100644 --- a/src/fd-cache/fd-cache.h +++ b/src/fd-cache/fd-cache.h @@ -9,7 +9,7 @@ #ifndef BABELTRACE_FD_CACHE_FD_CACHE_H #define BABELTRACE_FD_CACHE_FD_CACHE_H -#include "common/macros.h" +#include struct bt_fd_cache_handle { int fd; -- 2.34.1