From 32dde889e28f1e15c4a97f3e701800ba22ab849d Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 3 Feb 2013 16:43:58 +0000 Subject: 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 --- apps/examples/ostest/ostest_main.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'apps/examples/ostest/ostest_main.c') 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) { -- cgit v1.2.3