From e3544456d8db13021427c9f4a882635f66b7d277 Mon Sep 17 00:00:00 2001 From: Yichen Gu Date: Mon, 11 Oct 2021 09:04:46 +0100 Subject: [PATCH] lecp: remove extra struct lws_lec_pctx fwd definitions C++ compilers set to less than C11 may choke on it, it's anyway not needed any more since no references between that and the actual definition. --- include/libwebsockets/lws-lecp.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/libwebsockets/lws-lecp.h b/include/libwebsockets/lws-lecp.h index 04de86add..8133e4b14 100644 --- a/include/libwebsockets/lws-lecp.h +++ b/include/libwebsockets/lws-lecp.h @@ -300,9 +300,6 @@ struct lecp_ctx { char buf[LECP_STRING_CHUNK + 1]; }; -struct lws_lec_pctx; -typedef struct lws_lec_pctx lws_lec_pctx_t; - enum lws_lec_pctx_ret { LWS_LECPCTX_RET_FINISHED = 0, LWS_LECPCTX_RET_AGAIN, /* call again to continue writing buffer */