1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

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.
This commit is contained in:
Yichen Gu 2021-10-11 09:04:46 +01:00 committed by Andy Green
parent 361a07c8f4
commit 3b4c9aaeb3

View file

@ -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 */