From 1ae51ff94d0f1f27a4e4cc657371578db13c3ca1 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 8 Feb 2019 20:26:14 +0100 Subject: Make code compile again (fix bitrot dating back from 2013). --- src/munia_proto.h | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'src/munia_proto.h') diff --git a/src/munia_proto.h b/src/munia_proto.h index db10c16..a2ad38f 100644 --- a/src/munia_proto.h +++ b/src/munia_proto.h @@ -25,20 +25,17 @@ * along with Munia; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#ifndef __MUNIA_MUNIA_PROTO_H__ -#define __MUNIA_MUNIA_PROTO_H__ +#pragma once #include #include -int callback_lws_task(struct libwebsocket_context *context, - struct libwebsocket *wsi, - enum libwebsocket_callback_reasons reason, +int callback_lws_task(struct lws *wsi, + enum lws_callback_reasons reason, void *user, void *in, size_t len); -struct per_session_data__lws_task { - struct libwebsocket *wsi; +struct per_session_data__lws_task +{ + struct lws *wsi; }; - -#endif/*__MUNIA_MUNIA_PROTO_H__*/ -- cgit v1.2.3