summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2021-03-01 15:18:52 +0800
committerGitHub <[email protected]>2021-03-01 15:18:52 +0800
commit0a54f4c3dd4068589ad9e1e92e780b91d9b974ca (patch)
tree8a7a97cfb19ec8754be08e60694ac239b31dc1bd
parentce76e18620dd10d5baa5d817bff5c7ec9c957bff (diff)
parent952e35d9d3e544ec4e9bc95f0cbe53dd13e1642a (diff)
Merge pull request #4388 from mysterywolf/getline
[libc][getline] 删除不必要的声明信息
-rw-r--r--components/libc/Kconfig6
-rw-r--r--components/libc/getline/README.md10
-rw-r--r--components/libc/getline/posix_getline.c3
-rw-r--r--components/libc/getline/posix_getline.h3
4 files changed, 5 insertions, 17 deletions
diff --git a/components/libc/Kconfig b/components/libc/Kconfig
index 65c8d44225..49b97481d1 100644
--- a/components/libc/Kconfig
+++ b/components/libc/Kconfig
@@ -54,9 +54,9 @@ if RT_USING_LIBC
endif
if RT_USING_LIBC != y
- config RT_LIBC_USING_TIME
- bool "Enable TIME FUNCTIONS WITHOUT COMPILER'S LIBC"
- default y
+ config RT_LIBC_USING_TIME
+ bool "Enable TIME FUNCTIONS WITHOUT COMPILER'S LIBC"
+ default y
endif
endmenu
diff --git a/components/libc/getline/README.md b/components/libc/getline/README.md
index 0b279755d3..ef3c19deae 100644
--- a/components/libc/getline/README.md
+++ b/components/libc/getline/README.md
@@ -18,13 +18,3 @@ For more details, see [Open Group Base Specification for getdelim/getline][openg
This code is unlicensed -- free and released into the public domain. See `UNLICENSE` file for more information.
[opengroup-spec]: http://pubs.opengroup.org/onlinepubs/9699919799/functions/getline.html
-
-
-
-
-## 联系&维护
-Meco Man
-
-
-https://github.com/mysterywolf/getline
diff --git a/components/libc/getline/posix_getline.c b/components/libc/getline/posix_getline.c
index e2ac278242..99bcf5363e 100644
--- a/components/libc/getline/posix_getline.c
+++ b/components/libc/getline/posix_getline.c
@@ -5,9 +5,8 @@
* https://man7.org/linux/man-pages/man3/getline.3.html
* Authors:
* https://github.com/ivanrad/getline
- * https://github.com/mysterywolf/getline/
*
- * Meco Man 2020-09-03 First Version
+ * Meco Man 2020-09-03 porting to RT-Thread
*/
#include "posix_getline.h"
diff --git a/components/libc/getline/posix_getline.h b/components/libc/getline/posix_getline.h
index c7d6021af3..e9e0bf9c2b 100644
--- a/components/libc/getline/posix_getline.h
+++ b/components/libc/getline/posix_getline.h
@@ -5,9 +5,8 @@
* https://man7.org/linux/man-pages/man3/getline.3.html
* Authors:
* https://github.com/ivanrad/getline
- * https://github.com/mysterywolf/getline/
*
- * Meco Man 2020-09-03 First Version
+ * Meco Man 2020-09-03 porting to RT-Thread
*/