summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorJianting (Meco) Man <[email protected]>2021-10-27 23:36:42 -0400
committerMeco Man <[email protected]>2021-10-27 23:44:46 -0400
commit702b91c3ce927d5aea775d2dbc6c0c53ff986aa6 (patch)
treebefbf3acce242b00a5230c0f45e8085181081745 /components
parentda1cc99fe2b1c07698e24556ef574c5ded521771 (diff)
[dfs] 保留dfs_poll.h dfs_select.h,加warning提示
Diffstat (limited to 'components')
-rw-r--r--components/dfs/include/dfs_poll.h17
-rw-r--r--components/dfs/include/dfs_select.h17
2 files changed, 34 insertions, 0 deletions
diff --git a/components/dfs/include/dfs_poll.h b/components/dfs/include/dfs_poll.h
new file mode 100644
index 0000000000..cba73b04d4
--- /dev/null
+++ b/components/dfs/include/dfs_poll.h
@@ -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__ */
diff --git a/components/dfs/include/dfs_select.h b/components/dfs/include/dfs_select.h
new file mode 100644
index 0000000000..5b7c6428bd
--- /dev/null
+++ b/components/dfs/include/dfs_select.h
@@ -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