fd-cache: cleanup includes
authorErica Bugden <ebugden@efficios.com>
Wed, 21 Aug 2024 19:12:28 +0000 (15:12 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 11 Nov 2024 18:37:53 +0000 (13:37 -0500)
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 <ebugden@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/13226
Reviewed-by: Simon Marchi <simon.marchi@efficios.com>
src/fd-cache/fd-cache.h

index 6d1e4c100af451ac6188d1487a21dd964f15015f..a3593381e586a738aafb32bfefd5954bec293d3a 100644 (file)
@@ -9,7 +9,7 @@
 #ifndef BABELTRACE_FD_CACHE_FD_CACHE_H
 #define BABELTRACE_FD_CACHE_FD_CACHE_H
 
-#include "common/macros.h"
+#include <glib.h>
 
 struct bt_fd_cache_handle {
        int fd;
This page took 0.02489 seconds and 4 git commands to generate.