summaryrefslogtreecommitdiff
path: root/components/libc/compilers/dlib
diff options
context:
space:
mode:
authorchenyingchun0312 <[email protected]>2020-09-22 17:10:48 +0800
committerchenyingchun0312 <[email protected]>2020-09-22 17:10:48 +0800
commit797ce29ae0ed103d9684360dd931e58820ad7511 (patch)
tree619159c581c6cec8afdda8088bc987078dcca22f /components/libc/compilers/dlib
parent02a609e33fbf811f043cd0c628b7d1266a4d41c2 (diff)
parent8302a7224302c0624b9918855a25e12f3a3ede59 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'components/libc/compilers/dlib')
-rw-r--r--components/libc/compilers/dlib/sys/unistd.h4
-rw-r--r--components/libc/compilers/dlib/termios.h15
2 files changed, 4 insertions, 15 deletions
diff --git a/components/libc/compilers/dlib/sys/unistd.h b/components/libc/compilers/dlib/sys/unistd.h
index 29f68f24f8..9564daba8d 100644
--- a/components/libc/compilers/dlib/sys/unistd.h
+++ b/components/libc/compilers/dlib/sys/unistd.h
@@ -36,4 +36,8 @@
#endif
+
+int isatty (int fd);
+char * ttyname (int desc);
+
#endif /* _SYS_UNISTD_H */
diff --git a/components/libc/compilers/dlib/termios.h b/components/libc/compilers/dlib/termios.h
deleted file mode 100644
index 1956121225..0000000000
--- a/components/libc/compilers/dlib/termios.h
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * Copyright (c) 2006-2018, RT-Thread Development Team
- *
- * SPDX-License-Identifier: Apache-2.0
- *
- * Change Logs:
- * Date Author Notes
- */
-#ifndef _TERMIOS_H__
-#define _TERMIOS_H__
-
-#include <sys/types.h>
-#include <posix_termios.h>
-
-#endif