libev stub macros need to reflect void when disabled
authorAndy Green <andy.green@linaro.org>
Sun, 20 Apr 2014 22:59:44 +0000 (07:59 +0900)
committerAndy Green <andy.green@linaro.org>
Sun, 20 Apr 2014 22:59:44 +0000 (07:59 +0900)
Reported-by: Michael Harberler <mail17@mah.priv.at>
Signed-off-by: Andy Green <andy.green@linaro.org>
lib/private-libwebsockets.h

index cf65ebf..76fc2cc 100644 (file)
@@ -459,10 +459,10 @@ lws_libev_run(struct libwebsocket_context *context);
 #define LWS_LIBEV_ENABLED(context) (0)
 #define lws_feature_status_libev(_a) \
                        lwsl_notice("libev support not compiled in\n")
-#define lws_libev_accept(_a, _b, _c) (0)
-#define lws_libev_io(_a, _b, _c) (0)
+#define lws_libev_accept(_a, _b, _c)
+#define lws_libev_io(_a, _b, _c)
 #define lws_libev_init_fd_table(_a) (0)
-#define lws_libev_run(_a) (0)
+#define lws_libev_run(_a)
 #endif
 
 #ifdef LWS_USE_IPV6