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
This commit is contained in:
patacongo 2013-02-02 19:32:46 +00:00
parent c66f2100db
commit 51d056fa13
4 changed files with 6 additions and 3 deletions

View File

@ -268,3 +268,6 @@
panel.
1.6 2013-xx-xx Gregory Nutt <gnutt@nuttx.org>
* Type of argv[] has changed from const char ** to char * const *

View File

@ -216,7 +216,7 @@ bool CNxServer::connect(void)
gvdbg("CNxServer::connect: Starting server task\n");
serverId = TASK_CREATE("NX Server", CONFIG_NXWIDGETS_SERVERPRIO,
CONFIG_NXWIDGETS_SERVERSTACK, server, (FAR const char **)0);
CONFIG_NXWIDGETS_SERVERSTACK, server, (FAR char * const *)0);
if (serverId < 0)
{
gdbg("NxServer::connect: Failed to create nx_servertask task: %d\n", errno);

View File

@ -247,7 +247,7 @@ bool CNxConsole::run(void)
sched_lock();
m_pid = TASK_CREATE("NxConsole", CONFIG_NXWM_NXCONSOLE_PRIO,
CONFIG_NXWM_NXCONSOLE_STACKSIZE, nxconsole,
(FAR const char **)0);
(FAR char * const *)0);
// Did we successfully start the NxConsole task?

View File

@ -182,7 +182,7 @@ bool CStartWindow::run(void)
m_taskId = TASK_CREATE("StartWindow", CONFIG_NXWM_STARTWINDOW_PRIO,
CONFIG_NXWM_STARTWINDOW_STACKSIZE, startWindow,
(FAR const char **)0);
(FAR char * const *)0);
// Did we successfully start the NxConsole task?