diff options
Diffstat (limited to 'nuttx/examples/ostest')
-rw-r--r-- | nuttx/examples/ostest/roundrobin.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/nuttx/examples/ostest/roundrobin.c b/nuttx/examples/ostest/roundrobin.c index 88b169323..003c6cf6b 100644 --- a/nuttx/examples/ostest/roundrobin.c +++ b/nuttx/examples/ostest/roundrobin.c @@ -1,7 +1,7 @@ /******************************************************************************** - * roundrobin.c + * examples/ostest/roundrobin.c * - * Copyright (C) 2007 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -14,7 +14,7 @@ * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. - * 3. Neither the name Gregory Nutt nor the names of its contributors may be + * 3. Neither the name Gregory NuttX nor the names of its contributors may be * used to endorse or promote products derived from this software * without specific prior written permission. * @@ -134,6 +134,7 @@ static void *sieve1(void *parameter) printf("sieve1 finished\n"); pthread_exit(NULL); + return NULL; /* To keep some compilers happy */ } /******************************************************************************** @@ -154,6 +155,7 @@ static void *sieve2(void *parameter) printf("sieve2 finished\n"); pthread_exit(NULL); + return NULL; /* To keep some compilers happy */ } /******************************************************************************** |