X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/4d8868425004956946425f8f68a0b350c3919402..4753ffd55e1ec5906f80fa4728354d6873ea8f1f:/net/http/httpd.c 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);