fix visibility of return_http_status
authorAndy Green <andy.green@linaro.org>
Fri, 21 Feb 2014 10:51:38 +0000 (18:51 +0800)
committerAndy Green <andy.green@linaro.org>
Fri, 21 Feb 2014 10:51:38 +0000 (18:51 +0800)
From "DevYourWorld" on github

https://github.com/warmcat/libwebsockets/issues/64#issuecomment-35720037

Signed-off-by: Andy Green <andy.green@linaro.org>
lib/server.c

index 4547a34..d45da33 100644 (file)
@@ -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)
 {