From b40c0b8f1c89d1763ee8d47c28eda2b643ad0037 Mon Sep 17 00:00:00 2001 From: Joerg Pommnitz Date: Mon, 10 Oct 2016 20:07:46 +0800 Subject: [PATCH] some compilers need void param explicitly --- lib/libwebsockets.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libwebsockets.h b/lib/libwebsockets.h index 016398a7..baa9aeac 100644 --- a/lib/libwebsockets.h +++ b/lib/libwebsockets.h @@ -2194,7 +2194,7 @@ lws_read(struct lws *wsi, unsigned char *buf, size_t len); * client and server for how to do. */ static LWS_INLINE LWS_WARN_DEPRECATED const struct lws_extension * -lws_get_internal_extensions() { return NULL; } +lws_get_internal_extensions(void) { return NULL; } LWS_VISIBLE LWS_EXTERN int LWS_WARN_UNUSED_RESULT lws_ext_parse_options(const struct lws_extension *ext, struct lws *wsi, void *ext_user, const struct lws_ext_options *opts,