mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 01:42:58 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user