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/examples | |
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/examples')
-rw-r--r-- | apps/examples/elf/tests/task/task.c | 2 | ||||
-rw-r--r-- | apps/examples/hidkbd/hidkbd_main.c | 4 | ||||
-rw-r--r-- | apps/examples/nxflat/tests/task/task.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/apps/examples/elf/tests/task/task.c b/apps/examples/elf/tests/task/task.c index 15802fc00..a947aac73 100644 --- a/apps/examples/elf/tests/task/task.c +++ b/apps/examples/elf/tests/task/task.c @@ -128,7 +128,7 @@ int main(int argc, char **argv) child_argv[0] = child_arg; child_argv[1] = 0; - child_pid = task_create(child_name, 50, 512, child_task, (const char**)child_argv); + child_pid = task_create(child_name, 50, 512, child_task, (FAR char * const *)child_argv); if (child_pid < 0) { printf("Parent: task_create failed: %d\n", errno); diff --git a/apps/examples/hidkbd/hidkbd_main.c b/apps/examples/hidkbd/hidkbd_main.c index abc942a44..9ddbc3e6a 100644 --- a/apps/examples/hidkbd/hidkbd_main.c +++ b/apps/examples/hidkbd/hidkbd_main.c @@ -290,10 +290,10 @@ int hidkbd_main(int argc, char *argv[]) #ifndef CONFIG_CUSTOM_STACK pid = task_create("usbhost", CONFIG_EXAMPLES_HIDKBD_DEFPRIO, CONFIG_EXAMPLES_HIDKBD_STACKSIZE, - (main_t)hidkbd_waiter, (const char **)NULL); + (main_t)hidkbd_waiter, (FAR char * const *)NULL); #else pid = task_create("usbhost", CONFIG_EXAMPLES_HIDKBD_DEFPRIO, - (main_t)hidkbd_waiter, (const char **)NULL); + (main_t)hidkbd_waiter, (FAR char * const *)NULL); #endif /* Now just sleep. Eventually logic here will open the kbd device and diff --git a/apps/examples/nxflat/tests/task/task.c b/apps/examples/nxflat/tests/task/task.c index 192aa49b3..2ffc1565a 100644 --- a/apps/examples/nxflat/tests/task/task.c +++ b/apps/examples/nxflat/tests/task/task.c @@ -128,7 +128,7 @@ int main(int argc, char **argv) child_argv[0] = child_arg; child_argv[1] = 0; - child_pid = task_create(child_name, 50, 512, child_task, (const char**)child_argv); + child_pid = task_create(child_name, 50, 512, child_task, (FAR char * const *)child_argv); if (child_pid < 0) { printf("Parent: task_create failed: %d\n", errno); |