From 958534b066cd77d8a3265fb6199dd5e7a6d62878 Mon Sep 17 00:00:00 2001 From: Lagrang3 Date: Thu, 8 Aug 2024 11:41:36 +0100 Subject: [PATCH] fixup: short_channel_id_dir_eq collision Signed-off-by: Lagrang3 --- plugins/renepay/disabledmap.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/renepay/disabledmap.h b/plugins/renepay/disabledmap.h index f21c00b23162..2dea547b076f 100644 --- a/plugins/renepay/disabledmap.h +++ b/plugins/renepay/disabledmap.h @@ -22,8 +22,8 @@ self_scidd(const struct short_channel_id_dir *self) } static inline bool -short_channel_id_dir_eq(const struct short_channel_id_dir *scidd_a, - const struct short_channel_id_dir scidd_b) +my_short_channel_id_dir_eq(const struct short_channel_id_dir *scidd_a, + const struct short_channel_id_dir scidd_b) { return short_channel_id_eq(scidd_a->scid, scidd_b.scid) && scidd_a->dir == scidd_b.dir; @@ -32,7 +32,7 @@ short_channel_id_dir_eq(const struct short_channel_id_dir *scidd_a, /* A htable for short_channel_id_dir, the structure itself is the element key. */ HTABLE_DEFINE_TYPE(struct short_channel_id_dir, self_scidd, hash_scidd, - short_channel_id_dir_eq, scidd_map); + my_short_channel_id_dir_eq, scidd_map); struct disabledmap { /* Channels we decided to disable for various reasons. */