diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-03 16:43:58 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-03 16:43:58 +0000 |
commit | 32dde889e28f1e15c4a97f3e701800ba22ab849d (patch) | |
tree | 83fc8fbb0fcef9302298d1ccb819cfba26ec8825 /apps/examples/ostest | |
parent | 0066db82f921ad84a9017242396e37259f3d71f4 (diff) | |
download | nuttx-32dde889e28f1e15c4a97f3e701800ba22ab849d.tar.gz nuttx-32dde889e28f1e15c4a97f3e701800ba22ab849d.tar.bz2 nuttx-32dde889e28f1e15c4a97f3e701800ba22ab849d.zip |
Move pthread join and key creation data into the task group
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5602 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/ostest')
-rw-r--r-- | apps/examples/ostest/ostest_main.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/examples/ostest/ostest_main.c b/apps/examples/ostest/ostest_main.c index 3e4197fdc..d83adc413 100644 --- a/apps/examples/ostest/ostest_main.c +++ b/apps/examples/ostest/ostest_main.c @@ -503,7 +503,7 @@ static void stdio_test(void) * ostest_main ****************************************************************************/ -int ostest_main(int argc, char *argv[]) +int ostest_main(int argc, FAR char *argv[]) { int result; @@ -546,9 +546,11 @@ int ostest_main(int argc, char *argv[]) /* Verify that we can spawn a new task */ #ifndef CONFIG_CUSTOM_STACK - result = task_create("ostest", PRIORITY, STACKSIZE, user_main, g_argv); + result = task_create("ostest", PRIORITY, STACKSIZE, user_main, + (FAR char * const *)g_argv); #else - result = task_create("ostest", PRIORITY, user_main, g_argv); + result = task_create("ostest", PRIORITY, user_main, + (FAR char * const *)g_argv); #endif if (result == ERROR) { |