Move prototypes of mkfifo2() from sys/stat.h and pipe2() from unistd.h. They are non-standard and should not be in such a public place. They are not in include/nuttx/fs/fs.h (which isn't a great place either).

This commit is contained in:
Gregory Nutt
2016-07-20 11:57:18 -06:00
parent aa8a52aacd
commit e73e82a923
7 changed files with 79 additions and 9 deletions
+3 -1
View File
@@ -44,13 +44,15 @@
#include <nuttx/config.h>
#include <sys/types.h>
#include <nuttx/fs/fs.h>
#include <stdio.h>
#include <unistd.h>
#include <semaphore.h>
#include <fcntl.h>
#include <errno.h>
#include <nuttx/fs/fs.h>
#include "pipe_common.h"
#if CONFIG_DEV_PIPE_SIZE > 0