diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-15 14:25:14 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-15 14:25:14 +0000 |
commit | 329bf67f0c4b6beb77e5856c8038a3202909be58 (patch) | |
tree | d607f3c7db4e8415665c0ef9c35bc5cbc287b971 /nuttx/drivers/dev_null.c | |
parent | 2b8c1142b851c7a81eafe69ed35c490f3d9c6735 (diff) | |
download | px4-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/dev_null.c')
-rw-r--r-- | nuttx/drivers/dev_null.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/nuttx/drivers/dev_null.c b/nuttx/drivers/dev_null.c index 2208823e6..f473f1b87 100644 --- a/nuttx/drivers/dev_null.c +++ b/nuttx/drivers/dev_null.c @@ -34,16 +34,13 @@ ****************************************************************************/ /**************************************************************************** - * Compilation Switches - ****************************************************************************/ - -/**************************************************************************** * Included Files ****************************************************************************/ #include <nuttx/config.h> #include <sys/types.h> +#include <stdbool.h> #include <string.h> #include <poll.h> #include <errno.h> @@ -57,7 +54,7 @@ static ssize_t devnull_read(FAR struct file *, FAR char *, size_t); static ssize_t devnull_write(FAR struct file *, FAR const char *, size_t); #ifndef CONFIG_DISABLE_POLL static int devnull_poll(FAR struct file *filp, FAR struct pollfd *fds, - boolean setup); + bool setup); #endif /**************************************************************************** @@ -105,7 +102,7 @@ static ssize_t devnull_write(FAR struct file *filp, FAR const char *buffer, size #ifndef CONFIG_DISABLE_POLL static int devnull_poll(FAR struct file *filp, FAR struct pollfd *fds, - boolean setup) + bool setup) { if (setup) { |