提交 87046a1a 编写于 作者: 还_没_想_好's avatar 还_没_想_好 提交者: guo

[libc][io] Remove definitions that are not in use

上级 6237d2aa
......@@ -111,7 +111,6 @@ int tcdrain(int fd)
return 0;
}
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
void cfmakeraw(struct termios *t)
{
t->c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON);
......@@ -127,4 +126,3 @@ int cfsetspeed(struct termios *tio, speed_t speed)
{
return cfsetospeed(tio, speed);
}
#endif
......@@ -202,10 +202,8 @@ int tcflow (int, int);
pid_t tcgetsid (int);
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
void cfmakeraw(struct termios *);
int cfsetspeed(struct termios *, speed_t);
#endif
#ifdef __cplusplus
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册