From: Will Sowerbutts Date: Sat, 3 Jan 2015 23:20:35 +0000 (+0000) Subject: Library: Remove duplicate tcflush hiding in tcflow.c -- although we X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=c5e39cdf09a89845fdf8f8c3611008b0b230aae5;p=FUZIX.git Library: Remove duplicate tcflush hiding in tcflow.c -- although we still don't have a tcflow()! --- 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; }