From 51d056fa130bad78b60ade70847289fda4f4e476 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 2 Feb 2013 19:32:46 +0000 Subject: [PATCH] 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 --- ChangeLog.txt | 3 +++ libnxwidgets/src/cnxserver.cxx | 2 +- nxwm/src/cnxconsole.cxx | 2 +- nxwm/src/cstartwindow.cxx | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index 7e2acdea1..7ebfc6e8a 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -268,3 +268,6 @@ panel. 1.6 2013-xx-xx Gregory Nutt + +* Type of argv[] has changed from const char ** to char * const * + diff --git a/libnxwidgets/src/cnxserver.cxx b/libnxwidgets/src/cnxserver.cxx index 4d5a6e681..15f9bce5a 100644 --- a/libnxwidgets/src/cnxserver.cxx +++ b/libnxwidgets/src/cnxserver.cxx @@ -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); diff --git a/nxwm/src/cnxconsole.cxx b/nxwm/src/cnxconsole.cxx index 41e153400..3a506cb4b 100644 --- a/nxwm/src/cnxconsole.cxx +++ b/nxwm/src/cnxconsole.cxx @@ -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? diff --git a/nxwm/src/cstartwindow.cxx b/nxwm/src/cstartwindow.cxx index cc8802b7c..bc7b747f8 100644 --- a/nxwm/src/cstartwindow.cxx +++ b/nxwm/src/cstartwindow.cxx @@ -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?