From c5e39cdf09a89845fdf8f8c3611008b0b230aae5 Mon Sep 17 00:00:00 2001 From: Will Sowerbutts Date: Sat, 3 Jan 2015 23:20:35 +0000 Subject: [PATCH] Library: Remove duplicate tcflush hiding in tcflow.c -- although we still don't have a tcflow()! --- Library/libs/tcflow.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Library/libs/tcflow.c b/Library/libs/tcflow.c index c517773f..27d8492d 100644 --- a/Library/libs/tcflow.c +++ b/Library/libs/tcflow.c @@ -1,7 +1,10 @@ #include #include +#include -int tcflush(int fd, int q) +int tcflow(int fd, int action) { - return ioctl(fd, TIOCFLUSH, q); + /* TODO */ + errno = EINVAL; + return -1; } -- 2.34.1