From: Erica Bugden Date: Wed, 21 Aug 2024 19:12:28 +0000 (-0400) Subject: fd-cache: cleanup includes X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=0e82e6bc5f164e78bc83d3f042fbe21cb09838e5;p=babeltrace.git 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 --- 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;