summaryrefslogtreecommitdiff
path: root/nuttx/drivers/pipes/pipe_common.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-15 14:25:14 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-15 14:25:14 +0000
commit329bf67f0c4b6beb77e5856c8038a3202909be58 (patch)
treed607f3c7db4e8415665c0ef9c35bc5cbc287b971 /nuttx/drivers/pipes/pipe_common.h
parent2b8c1142b851c7a81eafe69ed35c490f3d9c6735 (diff)
downloadpx4-nuttx-329bf67f0c4b6beb77e5856c8038a3202909be58.tar.gz
px4-nuttx-329bf67f0c4b6beb77e5856c8038a3202909be58.tar.bz2
px4-nuttx-329bf67f0c4b6beb77e5856c8038a3202909be58.zip
Changing NuttX fixed size type names to C99 standard names -- things will be broken for awhile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2343 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/pipes/pipe_common.h')
-rw-r--r--nuttx/drivers/pipes/pipe_common.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/nuttx/drivers/pipes/pipe_common.h b/nuttx/drivers/pipes/pipe_common.h
index cf0d92742..16bf285b5 100644
--- a/nuttx/drivers/pipes/pipe_common.h
+++ b/nuttx/drivers/pipes/pipe_common.h
@@ -1,7 +1,7 @@
/****************************************************************************
* drivers/pipe/pipe_common.h
*
- * Copyright (C) 2008i-2009 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -44,6 +44,7 @@
#include <sys/types.h>
#include <stdint.h>
+#include <stdbool.h>
#include <poll.h>
#ifndef CONFIG_DEV_PIPE_SIZE
@@ -53,7 +54,7 @@
#if CONFIG_DEV_PIPE_SIZE > 0
/****************************************************************************
- * Definitions
+ * Pre-processor Definitions
****************************************************************************/
/* Maximum number of threads than can be waiting for POLL events */
@@ -126,7 +127,7 @@ EXTERN ssize_t pipecommon_read(FAR struct file *, FAR char *, size_t);
EXTERN ssize_t pipecommon_write(FAR struct file *, FAR const char *, size_t);
#ifndef CONFIG_DISABLE_POLL
EXTERN int pipecommon_poll(FAR struct file *filep, FAR struct pollfd *fds,
- boolean setup);
+ bool setup);
#endif
#undef EXTERN