summaryrefslogtreecommitdiff
path: root/nuttx/include/sys/types.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-08-28 23:38:15 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-08-28 23:38:15 +0000
commitc98a99e6c02ff76fc8e161a0889c183ff105f725 (patch)
tree7aeb57be6de0efd516bdf0432d3190f849cd0b16 /nuttx/include/sys/types.h
parentbd0a099495db37954575879b1322cf60e06311f7 (diff)
downloadpx4-nuttx-c98a99e6c02ff76fc8e161a0889c183ff105f725.tar.gz
px4-nuttx-c98a99e6c02ff76fc8e161a0889c183ff105f725.tar.bz2
px4-nuttx-c98a99e6c02ff76fc8e161a0889c183ff105f725.zip
Basic infrastructure for socket() and bind()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@316 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/sys/types.h')
-rw-r--r--nuttx/include/sys/types.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/nuttx/include/sys/types.h b/nuttx/include/sys/types.h
index 97b2d7eed..1788784b5 100644
--- a/nuttx/include/sys/types.h
+++ b/nuttx/include/sys/types.h
@@ -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.
*
@@ -123,6 +123,9 @@ typedef unsigned int sig_atomic_t;
typedef int pid_t;
typedef int STATUS;
+typedef unsigned int socklen_t;
+typedef uint16 sa_family_t;
+
/* Process entry point */
typedef int (*main_t)(int argc, char *argv[]);