diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-02 19:32:46 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-02 19:32:46 +0000 |
commit | 2cc0db0c264e064ee203c2f19b91f7ba013fdf25 (patch) | |
tree | 2397df4041c98231b56158d63389447d654f525a /apps/netutils/thttpd | |
parent | 60185fe969614b01d5dc57f3aa157b24d2901af6 (diff) | |
download | nuttx-2cc0db0c264e064ee203c2f19b91f7ba013fdf25.tar.gz nuttx-2cc0db0c264e064ee203c2f19b91f7ba013fdf25.tar.bz2 nuttx-2cc0db0c264e064ee203c2f19b91f7ba013fdf25.zip |
All argv types should be char * const * not const char **
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5599 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/netutils/thttpd')
-rw-r--r-- | apps/netutils/thttpd/libhttpd.c | 4 | ||||
-rw-r--r-- | apps/netutils/thttpd/thttpd_cgi.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/netutils/thttpd/libhttpd.c b/apps/netutils/thttpd/libhttpd.c index ee0ac999c..9bb4e242f 100644 --- a/apps/netutils/thttpd/libhttpd.c +++ b/apps/netutils/thttpd/libhttpd.c @@ -1863,10 +1863,10 @@ static int ls(httpd_conn *hc) #ifndef CONFIG_CUSTOM_STACK child = task_create("CGI child", CONFIG_THTTPD_CGI_PRIORITY, CONFIG_THTTPD_CGI_STACKSIZE, - (main_t)ls_child, (const char **)argv); + (main_t)ls_child, (FAR char * const *)argv); #else child = task_create("CGI child", CONFIG_THTTPD_CGI_PRIORITY, - (main_t)ls_child, (const char **)argv); + (main_t)ls_child, (FAR char * const *)argv); #endif if (child < 0) { diff --git a/apps/netutils/thttpd/thttpd_cgi.c b/apps/netutils/thttpd/thttpd_cgi.c index 31b1e0d8d..32aae5526 100644 --- a/apps/netutils/thttpd/thttpd_cgi.c +++ b/apps/netutils/thttpd/thttpd_cgi.c @@ -1024,10 +1024,10 @@ int cgi(httpd_conn *hc) #ifndef CONFIG_CUSTOM_STACK child = task_create("CGI child", CONFIG_THTTPD_CGI_PRIORITY, CONFIG_THTTPD_CGI_STACKSIZE, - (main_t)cgi_child, (const char **)argv); + (main_t)cgi_child, (FAR char * const *)argv); #else child = task_create("CGI child", CONFIG_THTTPD_CGI_PRIORITY, - (main_t)cgi_child, (const char **)argv); + (main_t)cgi_child, (FAR char * const *)argv); #endif if (child < 0) { |