4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-19 03:01:22 +08:00

Merge pull request #5242 from mysterywolf/revert-5199-removeselectpoll

[dfs] 保留dfs_poll.h dfs_select.h,加warning提示
This commit is contained in:
guo 2021-10-28 13:55:08 +08:00 committed by GitHub
commit 7bb5826c1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,17 @@
/*
* Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
*/
#ifndef DFS_POLL_H__
#define DFS_POLL_H__
#include <poll.h>
#warning "This file will be obsolete in the next version! Please use <poll.h> to instead."
#endif /* DFS_POLL_H__ */

View File

@ -0,0 +1,17 @@
/*
* Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
*/
#ifndef DFS_SELECT_H__
#define DFS_SELECT_H__
#include <sys/select.h>
#warning "This file will be obsolete in the next version! Please use <sys/select.h> to instead."
#endif