summaryrefslogtreecommitdiff
path: root/nuttx/sched/pthread_internal.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-14 18:39:29 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-14 18:39:29 +0000
commit59f367c060c408a9c9f2ee6db3a4fd498c4a2724 (patch)
tree80d034ca2b741e6d5b074758c5285f804f772c66 /nuttx/sched/pthread_internal.h
parent24bdea23f746984480bd59dd13dd4d631a210320 (diff)
downloadpx4-nuttx-59f367c060c408a9c9f2ee6db3a4fd498c4a2724.tar.gz
px4-nuttx-59f367c060c408a9c9f2ee6db3a4fd498c4a2724.tar.bz2
px4-nuttx-59f367c060c408a9c9f2ee6db3a4fd498c4a2724.zip
Switching to C99 stdint.h types
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2336 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/pthread_internal.h')
-rw-r--r--nuttx/sched/pthread_internal.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/nuttx/sched/pthread_internal.h b/nuttx/sched/pthread_internal.h
index 8a417179d..55d58d49f 100644
--- a/nuttx/sched/pthread_internal.h
+++ b/nuttx/sched/pthread_internal.h
@@ -1,7 +1,7 @@
/****************************************************************************
* pthread_internal.h
*
- * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -41,6 +41,7 @@
****************************************************************************/
#include <sys/types.h>
+#include <stdint.h>
#include <pthread.h>
#include <nuttx/compiler.h>
@@ -64,7 +65,7 @@
struct join_s
{
FAR struct join_s *next; /* Implements link list */
- ubyte crefs; /* Reference count */
+ uint8_t crefs; /* Reference count */
boolean started; /* TRUE: pthread started. */
boolean detached; /* TRUE: pthread_detached'ed */
boolean terminated; /* TRUE: detach'ed+exit'ed */
@@ -97,7 +98,7 @@ extern sem_t g_join_semaphore;
* allocated.
*/
-extern ubyte g_pthread_num_keys;
+extern uint8_t g_pthread_num_keys;
/* Default pthread attributes */