summaryrefslogtreecommitdiff
path: root/nuttx/sched/pthread_internal.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-02-27 21:17:21 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-02-27 21:17:21 +0000
commit148cde5e982950ad5836fa96baa466de842e1c14 (patch)
treebf737b367b91c5da81345eb21016b07400d7a72f /nuttx/sched/pthread_internal.h
parentf6b81a790c28d7d36d9de33810df5270c1ebbfd7 (diff)
downloadpx4-nuttx-148cde5e982950ad5836fa96baa466de842e1c14.tar.gz
px4-nuttx-148cde5e982950ad5836fa96baa466de842e1c14.tar.bz2
px4-nuttx-148cde5e982950ad5836fa96baa466de842e1c14.zip
Finally, a clean SDCC compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@20 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/pthread_internal.h')
-rw-r--r--nuttx/sched/pthread_internal.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/nuttx/sched/pthread_internal.h b/nuttx/sched/pthread_internal.h
index f23bafe5c..34a2f518d 100644
--- a/nuttx/sched/pthread_internal.h
+++ b/nuttx/sched/pthread_internal.h
@@ -63,7 +63,7 @@
struct join_s
{
- struct join_s *next; /* Implements link list */
+ FAR struct join_s *next; /* Implements link list */
boolean started; /* TRUE: pthread started. */
boolean detached; /* TRUE: pthread_detached'ed */
boolean terminated; /* TRUE: detach'ed+exit'ed */
@@ -83,8 +83,8 @@ typedef struct join_s join_t;
* is used to retain information about the spawned threads.
*/
-extern join_t *g_pthread_head;
-extern join_t *g_pthread_tail;
+extern FAR join_t *g_pthread_head;
+extern FAR join_t *g_pthread_tail;
/* Mutually exclusive access to this data set is enforced with
* the following (un-named) semaphore.
@@ -100,7 +100,7 @@ extern ubyte g_pthread_num_keys;
/* Default pthread attributes */
-extern pthread_attr_t g_default_pthread_attr;
+extern FAR pthread_attr_t g_default_pthread_attr;
/************************************************************
* Public Function Prototypes
@@ -114,10 +114,10 @@ extern "C" {
#endif
EXTERN void weak_function pthread_initialize(void);
-EXTERN int pthread_completejoin(pid_t pid, void *exit_value);
-EXTERN join_t *pthread_findjoininfo(pid_t pid);
+EXTERN int pthread_completejoin(pid_t pid, FAR void *exit_value);
+EXTERN FAR join_t *pthread_findjoininfo(pid_t pid);
EXTERN int pthread_givesemaphore(sem_t *sem);
-EXTERN join_t *pthread_removejoininfo(pid_t pid);
+EXTERN FAR join_t *pthread_removejoininfo(pid_t pid);
EXTERN int pthread_takesemaphore(sem_t *sem);
#undef EXTERN