diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-08-10 16:57:15 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-08-10 16:57:15 +0000 |
commit | e063148b2411ed982cbd9e5cc13853f38462ac5a (patch) | |
tree | 96381b139a3a339609ec34900a53a2ce7e06beda /nuttx/drivers/pipe.c | |
parent | e296c8e33449dc121a02d0270c66e778ae140617 (diff) | |
download | px4-nuttx-e063148b2411ed982cbd9e5cc13853f38462ac5a.tar.gz px4-nuttx-e063148b2411ed982cbd9e5cc13853f38462ac5a.tar.bz2 px4-nuttx-e063148b2411ed982cbd9e5cc13853f38462ac5a.zip |
Fixes for Z16F compiler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@808 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/pipe.c')
-rw-r--r-- | nuttx/drivers/pipe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/drivers/pipe.c b/nuttx/drivers/pipe.c index 5e0b2f6e5..677bcfe4c 100644 --- a/nuttx/drivers/pipe.c +++ b/nuttx/drivers/pipe.c @@ -51,7 +51,7 @@ #include <fcntl.h> #include <errno.h> -#include "pipe-common.h" +#include "pipe_common.h" #if CONFIG_DEV_PIPE_SIZE > 0 @@ -178,7 +178,7 @@ static int pipe_close(FAR struct file *filep) ****************************************************************************/ int pipe(int filedes[2]) { - struct pipe_dev_s *dev; + struct pipe_dev_s *dev = NULL; char devname[16]; int pipeno; int err; |