X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/4d8868425004956946425f8f68a0b350c3919402..114f6096b4d2c31314a7d4030f67aaeb1f0f8787:/net/http/httpd.c?ds=sidebyside diff --git a/net/http/httpd.c b/net/http/httpd.c index 3ecea93..81d4a3f 100644 --- a/net/http/httpd.c +++ b/net/http/httpd.c @@ -32,6 +32,7 @@ #include #include +#include #include "lwip/debug.h" #include "lwip/stats.h" @@ -44,7 +45,7 @@ struct http_state { u32_t left; - const unsigned char *file; + const char *file; u8_t retries; }; @@ -258,3 +259,4 @@ httpd_init(void) } /*-----------------------------------------------------------------------------------*/ +PROTOCOL(httpd_init);