未验证 提交 91ea28a6 编写于 作者: mysterywolf's avatar mysterywolf 提交者: GitHub

[pipe.h] 移除多余的头文件,防止形成头文件递归包含 (#5621)

上级 b2fa700c
/* /*
* Copyright (c) 2006-2021, RT-Thread Development Team * Copyright (c) 2006-2022, RT-Thread Development Team
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
* *
* Change Logs: * Change Logs:
* Date Author Notes * Date Author Notes
*/ */
#ifndef PIPE_H__ #ifndef PIPE_H__
#define PIPE_H__ #define PIPE_H__
#include <rtthread.h>
/** /**
* Pipe Device * Pipe Device
*/ */
#include <rtthread.h>
#include <rtdevice.h>
struct rt_pipe_device struct rt_pipe_device
{ {
...@@ -36,4 +37,5 @@ typedef struct rt_pipe_device rt_pipe_t; ...@@ -36,4 +37,5 @@ typedef struct rt_pipe_device rt_pipe_t;
rt_pipe_t *rt_pipe_create(const char *name, int bufsz); rt_pipe_t *rt_pipe_create(const char *name, int bufsz);
int rt_pipe_delete(const char *name); int rt_pipe_delete(const char *name);
#endif /* PIPE_H__ */ #endif /* PIPE_H__ */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册