summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorMan, Jianting (Meco) <[email protected]>2022-03-02 05:45:19 -0500
committerGitHub <[email protected]>2022-03-02 18:45:19 +0800
commit91ea28a625092794cb44aa9c0a8fdc33617e37ed (patch)
tree2b65b711f2af1e7a41dd7862cd4f162ae829500b /components
parentb2fa700c2a7d7203eddfb93146600ff0503113c3 (diff)
[pipe.h] 移除多余的头文件,防止形成头文件递归包含 (#5621)
Diffstat (limited to 'components')
-rw-r--r--components/drivers/include/ipc/pipe.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/components/drivers/include/ipc/pipe.h b/components/drivers/include/ipc/pipe.h
index 7d271c3a04..08b9f266c8 100644
--- a/components/drivers/include/ipc/pipe.h
+++ b/components/drivers/include/ipc/pipe.h
@@ -1,19 +1,20 @@
/*
- * Copyright (c) 2006-2021, RT-Thread Development Team
+ * Copyright (c) 2006-2022, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
*/
+
#ifndef PIPE_H__
#define PIPE_H__
+#include <rtthread.h>
+
/**
* Pipe Device
*/
-#include <rtthread.h>
-#include <rtdevice.h>
struct rt_pipe_device
{
@@ -36,4 +37,5 @@ typedef struct rt_pipe_device rt_pipe_t;
rt_pipe_t *rt_pipe_create(const char *name, int bufsz);
int rt_pipe_delete(const char *name);
+
#endif /* PIPE_H__ */