From 6afb19ac2c5141c9c90fc3439c6959c55a3deffe Mon Sep 17 00:00:00 2001 From: Andy Green Date: Fri, 21 Feb 2014 18:51:38 +0800 Subject: [PATCH] fix visibility of return_http_status From "DevYourWorld" on github https://github.com/warmcat/libwebsockets/issues/64#issuecomment-35720037 Signed-off-by: Andy Green --- lib/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/server.c b/lib/server.c index 4547a34..d45da33 100644 --- a/lib/server.c +++ b/lib/server.c @@ -456,7 +456,7 @@ static const char *err500[] = { * Helper to report HTTP errors back to the client cleanly and * consistently */ -LWS_VISIBLE int libwebsockets_return_http_status( +LWS_VISIBLE LWS_EXTERN int libwebsockets_return_http_status( struct libwebsocket_context *context, struct libwebsocket *wsi, unsigned int code, const char *html_body) { -- 2.7.4