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:
parent
c66f2100db
commit
51d056fa13
@ -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 *
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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?
|
||||
|
||||
|
@ -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?
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user