From 8c8a2a5be3f7583a2678725ed6067976512ceca5 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Mon, 23 Sep 2024 11:06:16 +0100 Subject: [PATCH] lws_map: remove typedef for some toolchains This backports a change that has been in main for a while --- lib/core/lws_map.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/lws_map.c b/lib/core/lws_map.c index d149d8675..b319d79f4 100644 --- a/lib/core/lws_map.c +++ b/lib/core/lws_map.c @@ -29,11 +29,11 @@ typedef struct lws_map_hashtable { lws_dll2_owner_t ho; } lws_map_hashtable_t; -typedef struct lws_map { +struct lws_map { lws_map_info_t info; /* array of info.modulo x lws_map_hashtable_t overallocated */ -} lws_map_t; +}; typedef struct lws_map_item { lws_dll2_t list; /* owned by hashtable */