summaryrefslogtreecommitdiff
path: root/nuttx/include/sys
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-23 22:23:46 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-23 22:23:46 +0000
commit7080c71f2b2007926d5d7728f2ff443968ebe1fc (patch)
treedbc9c30e5aec5ddcdf6f0abd2b9a9416721c9bce /nuttx/include/sys
parent7866bca6aac68f69426b9433fa5c972b5143dde1 (diff)
downloadpx4-nuttx-7080c71f2b2007926d5d7728f2ff443968ebe1fc.tar.gz
px4-nuttx-7080c71f2b2007926d5d7728f2ff443968ebe1fc.tar.bz2
px4-nuttx-7080c71f2b2007926d5d7728f2ff443968ebe1fc.zip
Add logic to retain child task exit status if so configured
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5553 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/sys')
-rw-r--r--nuttx/include/sys/types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/include/sys/types.h b/nuttx/include/sys/types.h
index 95feee72e..38f091e8a 100644
--- a/nuttx/include/sys/types.h
+++ b/nuttx/include/sys/types.h
@@ -158,13 +158,13 @@ typedef uint16_t ino_t;
* negative PID values are used to represent invalid PIDs.
*/
-typedef int pid_t;
+typedef int16_t pid_t;
/* id_t is a general identifier that can be used to contain at least a pid_t,
* uid_t, or gid_t.
*/
-typedef unsigned int id_t;
+typedef int16_t id_t;
/* Signed integral type of the result of subtracting two pointers */