From e7fd8b199ed1c40fbd1a27ff7cf14aadb8942c87 Mon Sep 17 00:00:00 2001 From: Craig McQueen Date: Wed, 19 Feb 2014 09:24:17 +1100 Subject: [PATCH] Add LWS_VISIBLE to libwebsocket_set_timeout() so it can be used externally. --- lib/libwebsockets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libwebsockets.c b/lib/libwebsockets.c index 5e3f50eb..453c1e75 100644 --- a/lib/libwebsockets.c +++ b/lib/libwebsockets.c @@ -1608,7 +1608,7 @@ libwebsocket_callback_all_protocol( * @secs: how many seconds */ -void +LWS_VISIBLE void libwebsocket_set_timeout(struct libwebsocket *wsi, enum pending_timeout reason, int secs) {