diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-09-01 13:21:15 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-09-01 13:21:15 -0600 |
commit | 7bfdcaa22bd60cd34f11b0592c53fc5da1a37617 (patch) | |
tree | 77b4f3886eb3f4049545827c2008d161c318a9fa /apps/netutils | |
parent | 9ee5cfaffa313949563fb37f7cd39a2b7620a4dd (diff) | |
download | nuttx-7bfdcaa22bd60cd34f11b0592c53fc5da1a37617.tar.gz nuttx-7bfdcaa22bd60cd34f11b0592c53fc5da1a37617.tar.bz2 nuttx-7bfdcaa22bd60cd34f11b0592c53fc5da1a37617.zip |
Remove final traces of the 8015 from the NuttX source tree
Diffstat (limited to 'apps/netutils')
-rw-r--r-- | apps/netutils/discover/discover.c | 2 | ||||
-rw-r--r-- | apps/netutils/ntpclient/ntpclient.c | 2 | ||||
-rw-r--r-- | apps/netutils/telnetd/telnetd_daemon.c | 4 | ||||
-rw-r--r-- | apps/netutils/thttpd/libhttpd.c | 5 | ||||
-rw-r--r-- | apps/netutils/thttpd/thttpd_cgi.c | 5 |
5 files changed, 4 insertions, 14 deletions
diff --git a/apps/netutils/discover/discover.c b/apps/netutils/discover/discover.c index dcd008a48..41e7ecd1e 100644 --- a/apps/netutils/discover/discover.c +++ b/apps/netutils/discover/discover.c @@ -452,7 +452,7 @@ int discover_start(struct discover_info_s *info) /* Then start the new daemon */ - pid = TASK_CREATE("Discover daemon", CONFIG_DISCOVER_PRIORITY, + pid = task_create("Discover daemon", CONFIG_DISCOVER_PRIORITY, CONFIG_DISCOVER_STACK_SIZE, discover_daemon, NULL); if (pid < 0) { diff --git a/apps/netutils/ntpclient/ntpclient.c b/apps/netutils/ntpclient/ntpclient.c index ea016067c..a0d8d19f6 100644 --- a/apps/netutils/ntpclient/ntpclient.c +++ b/apps/netutils/ntpclient/ntpclient.c @@ -491,7 +491,7 @@ int ntpc_start(void) g_ntpc_daemon.state = NTP_STARTED; g_ntpc_daemon.pid = - TASK_CREATE("NTP daemon", CONFIG_NETUTILS_NTPCLIENT_SERVERPRIO, + task_create("NTP daemon", CONFIG_NETUTILS_NTPCLIENT_SERVERPRIO, CONFIG_NETUTILS_NTPCLIENT_STACKSIZE, ntpc_daemon, NULL); diff --git a/apps/netutils/telnetd/telnetd_daemon.c b/apps/netutils/telnetd/telnetd_daemon.c index 94b340290..e08d23d04 100644 --- a/apps/netutils/telnetd/telnetd_daemon.c +++ b/apps/netutils/telnetd/telnetd_daemon.c @@ -239,7 +239,7 @@ static int telnetd_daemon(int argc, char *argv[]) */ nllvdbg("Starting the telnet session\n"); - pid = TASK_CREATE("Telnet session", daemon->priority, daemon->stacksize, + pid = task_create("Telnet session", daemon->priority, daemon->stacksize, daemon->entry, NULL); if (pid < 0) { @@ -319,7 +319,7 @@ int telnetd_start(FAR struct telnetd_config_s *config) /* Then start the new daemon */ g_telnetdcommon.daemon = daemon; - pid = TASK_CREATE("Telnet daemon", config->d_priority, config->d_stacksize, + pid = task_create("Telnet daemon", config->d_priority, config->d_stacksize, telnetd_daemon, NULL); if (pid < 0) { diff --git a/apps/netutils/thttpd/libhttpd.c b/apps/netutils/thttpd/libhttpd.c index 2b4b9767c..4abf9473e 100644 --- a/apps/netutils/thttpd/libhttpd.c +++ b/apps/netutils/thttpd/libhttpd.c @@ -1865,14 +1865,9 @@ static int ls(httpd_conn *hc) snprintf(arg, 16, "%p", hc); /* task_create doesn't handle binary arguments. */ argv[0] = arg; -#ifndef CONFIG_CUSTOM_STACK child = task_create("CGI child", CONFIG_THTTPD_CGI_PRIORITY, CONFIG_THTTPD_CGI_STACKSIZE, (main_t)ls_child, (FAR char * const *)argv); -#else - child = task_create("CGI child", CONFIG_THTTPD_CGI_PRIORITY, - (main_t)ls_child, (FAR char * const *)argv); -#endif if (child < 0) { ndbg("task_create: %d\n", errno); diff --git a/apps/netutils/thttpd/thttpd_cgi.c b/apps/netutils/thttpd/thttpd_cgi.c index 1c931bb22..27eb470cf 100644 --- a/apps/netutils/thttpd/thttpd_cgi.c +++ b/apps/netutils/thttpd/thttpd_cgi.c @@ -1021,14 +1021,9 @@ int cgi(httpd_conn *hc) argv[0] = arg; argv[1] = NULL; -#ifndef CONFIG_CUSTOM_STACK child = task_create("CGI child", CONFIG_THTTPD_CGI_PRIORITY, CONFIG_THTTPD_CGI_STACKSIZE, (main_t)cgi_child, (FAR char * const *)argv); -#else - child = task_create("CGI child", CONFIG_THTTPD_CGI_PRIORITY, - (main_t)cgi_child, (FAR char * const *)argv); -#endif if (child < 0) { ndbg("task_create: %d\n", errno); |