From 73252d94c535d665b3dc26d577ebad0726742993 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Mon, 10 Feb 2020 09:06:28 +0000 Subject: [PATCH] lws_system: just define opaque struct instead of the typedef --- lib/core/private-lib-core.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/private-lib-core.h b/lib/core/private-lib-core.h index e9aacd06c..1420aa6b2 100644 --- a/lib/core/private-lib-core.h +++ b/lib/core/private-lib-core.h @@ -274,7 +274,7 @@ struct lws_deferred_free void *payload; }; -typedef struct lws_system_blob { +struct lws_system_blob { union { struct lws_buflist *bl; struct { @@ -283,7 +283,7 @@ typedef struct lws_system_blob { } direct; } u; char is_direct; -} lws_system_blob_t; +}; typedef struct lws_attach_item {