[Libwebsockets] Minor warning fix for lib/libwebsockets.h

Joerg Pommnitz pommnitz at yahoo.com
Mon Oct 10 12:09:21 CEST 2016


Seems the attachment got scrubbed, so here is the patch inlined:
Index: lib/libwebsockets.h
===================================================================
--- lib/libwebsockets.h	(revision 5972)
+++ lib/libwebsockets.h	(working copy)
@@ -1217,7 +1217,7 @@
* 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_ext_parse_options() - deal with parsing negotiated extension options


 -- Regards       Joerg



> Joerg Pommnitz <pommnitz at yahoo.com> schrieb am 12:02 Montag, 10.Oktober 2016:
> > Hello all,
> 
> the attached very minor patch is needed to shut up warnings when including 
> libwebsockets.h.
> 
> -- Regards       Joerg
> 



More information about the Libwebsockets mailing list