diff --git a/core/net/ipv6/websocket-http-client.c b/core/net/ipv6/websocket-http-client.c index 7d4164a04..ab9b75f92 100644 --- a/core/net/ipv6/websocket-http-client.c +++ b/core/net/ipv6/websocket-http-client.c @@ -161,7 +161,6 @@ parse_header_byte(struct websocket_http_client_state *s, } } - /* Keep eating header bytes until we reach the end of it. The end is indicated by the string "\r\n\r\n". We don't actually look at any of the headers. diff --git a/core/net/ipv6/websocket.h b/core/net/ipv6/websocket.h index ea8247c75..31e5ed797 100644 --- a/core/net/ipv6/websocket.h +++ b/core/net/ipv6/websocket.h @@ -49,7 +49,6 @@ typedef enum { WEBSOCKET_PONG_RECEIVED = 11, } websocket_result_t; - struct websocket; typedef void (* websocket_callback)(struct websocket *s,