summaryrefslogtreecommitdiff
path: root/nuttx/examples/ostest/mutex.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-01-28 15:45:39 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-01-28 15:45:39 +0000
commit48167a64f8b69015f7eb334c0db580708999dbe2 (patch)
treedbfd2020be6363fbe2243ce9f7888f8089583d91 /nuttx/examples/ostest/mutex.c
parenta95f177d20c45f908b62d35c0d58a4448713e628 (diff)
downloadnuttx-48167a64f8b69015f7eb334c0db580708999dbe2.tar.gz
nuttx-48167a64f8b69015f7eb334c0db580708999dbe2.tar.bz2
nuttx-48167a64f8b69015f7eb334c0db580708999dbe2.zip
Eliminate some Z16F compilation warnings.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@575 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/ostest/mutex.c')
-rw-r--r--nuttx/examples/ostest/mutex.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/examples/ostest/mutex.c b/nuttx/examples/ostest/mutex.c
index 5edf60dba..752f833f2 100644
--- a/nuttx/examples/ostest/mutex.c
+++ b/nuttx/examples/ostest/mutex.c
@@ -1,7 +1,7 @@
/***********************************************************************
* mutex.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 NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -86,6 +86,7 @@ static void *thread_func(void *parameter)
}
}
pthread_exit(NULL);
+ return NULL; /* Non-reachable -- needed for some compilers */
}
void mutex_test(void)