From b35128118e84be7ea7b56e50c3f16dddb8a365ac Mon Sep 17 00:00:00 2001 From: Andy Green Date: Mon, 19 Sep 2022 07:49:39 +0100 Subject: [PATCH] lws_map: stop c++ compiler complaints --- 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 */