summaryrefslogtreecommitdiff
path: root/nuttx/sched/sem_findnamed.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/sem_findnamed.c')
-rw-r--r--nuttx/sched/sem_findnamed.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/sched/sem_findnamed.c b/nuttx/sched/sem_findnamed.c
index d513f7a31..f626da42d 100644
--- a/nuttx/sched/sem_findnamed.c
+++ b/nuttx/sched/sem_findnamed.c
@@ -84,13 +84,13 @@
*
************************************************************/
-nsem_t *sem_findnamed(const char *name)
+FAR nsem_t *sem_findnamed(const char *name)
{
- nsem_t *psem;
+ FAR nsem_t *psem;
/* Search the list of named semaphores */
- for (psem = (nsem_t*)g_nsems.head; (psem); psem = psem->flink)
+ for (psem = (FAR nsem_t*)g_nsems.head; (psem); psem = psem->flink)
{
if (!strcmp(name, psem->name))
{