From 68064514b94d3036f472550c5df305545afaaaff Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 11 Jul 2016 13:05:55 -0600 Subject: [PATCH] uIP webserver: Fix a data declaration in a header file. --- include/netutils/httpd.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/netutils/httpd.h b/include/netutils/httpd.h index 1ae9b7c1e..a5ca096b0 100644 --- a/include/netutils/httpd.h +++ b/include/netutils/httpd.h @@ -189,6 +189,9 @@ extern "C" # define EXTERN extern #endif +EXTERN const struct httpd_fsdata_file g_httpdfs_root[]; +EXTERN const int g_httpd_numfiles; + /**************************************************************************** * Public Function Prototypes ****************************************************************************/ @@ -198,9 +201,6 @@ int httpd_listen(void); void httpd_cgi_register(struct httpd_cgi_call *cgi_call); uint16_t httpd_fs_count(char *name); -const struct httpd_fsdata_file g_httpdfs_root[]; -const int g_httpd_numfiles; - #undef EXTERN #ifdef __cplusplus }